|   | 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: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic 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
)
member CopyBytes : 
        value : 'T * 
        destinationArray : byte[] * 
        destinationIndex : int -> int  when 'T : struct, new() and IConvertibleJavaScript does not support generic types or methods.
Parameters
- value  T
- The Boolean value to convert and copy.
- destinationArray  Byte
- The destination buffer.
- destinationIndex  Int32
- The byte offset into destinationArray.
Type Parameters
- T
- Native value type to get bytes for.
Return Value
Int32Length of bytes copied into array based on size of 
T.
 Exceptions
Exceptions See Also
See Also