EndianOrderCopyBytesT(T, Byte, Int32) Method
Copies the specified primitive type value as an array of bytes in the target endian-order to the destination array.
Namespace: GemstoneAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
public int CopyBytes<T>(
T value,
byte[] destinationArray,
int destinationIndex
)
where T : struct, new(), IConvertible
public:
generic<typename T>
where T : value class, gcnew(), IConvertible
int CopyBytes(
T value,
array<unsigned char>^ destinationArray,
int destinationIndex
)
JavaScript does not support generic types or methods.
- value T
- The Boolean value to convert and copy.
- destinationArray Byte
- The destination buffer.
- destinationIndex Int32
- The byte offset into destinationArray.
- T
- Native value type to get bytes for.
Int32Length of bytes copied into array based on size of
T.