|
LittleEndianGetBytesT(T) Method
|
Returns the specified value as an array of bytes in the target endian-order.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
Syntaxpublic static byte[] GetBytes<T>(
T value
)
where T : struct, new(), IConvertible
Public Shared Function GetBytes(Of T As {Structure, New, IConvertible}) (
value As T
) As Byte()
static member GetBytes :
value : 'T -> byte[] when 'T : struct, new() and IConvertible
JavaScript does not support generic types or methods.
View SourceParameters
- value T
- The value to convert.
Type Parameters
- T
- Native value type to get bytes for.
Return Value
ByteAn array of bytes with length 1.
Exceptions
See Also