CFXMessageFromBytesT Method |
Creates a new instance of a CFX message given a Type and an array of bytes assumed to be in UTF8 encoding
Namespace: CFXAssembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntaxpublic static T FromBytes<T>(
byte[] data
)
where T : CFXMessage
Public Shared Function FromBytes(Of T As CFXMessage) (
data As Byte()
) As T
Parameters
- data Byte
- An array of bytes representing the message in UTF8 format
Type Parameters
- T
- The Type of the message
Return Value
T
See Also