|
BigEndianCopyBytesT(T, Byte*) Method
|
Copies the specified primitive type value as an array of bytes in the target endian-order to the destination array.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public static int CopyBytes<T>(
T value,
byte* destination
)
where T : struct, new(), IConvertible
Visual Basic does not support APIs that consume or return unsafe types.
F# does not support APIs that consume or return unsafe types.
JavaScript does not support generic types or methods.
View SourceParameters
- value T
- The Boolean value to convert and copy.
- destination Byte*
- The destination buffer.
Type Parameters
- T
- Native value type to get bytes for.
Return Value
Int32Length of bytes copied into array based on size of
T.
Exceptions See Also