Click or drag to resize

BigEndian.CopyBytes(Char, Byte[], Int32) Method

Copies the specified Unicode character value as an array of 2 bytes in the target endian-order to the destination array.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
Syntax
public static int CopyBytes(
	char value,
	byte[] destinationArray,
	int destinationIndex
)
View Source

Parameters

value  Char
The Unicode character value to convert and copy.
destinationArray  Byte[]
The destination buffer.
destinationIndex  Int32
The byte offset into destinationArray.

Return Value

Int32
Length of bytes copied into array based on size of value.
See Also