Click or drag to resize

BinaryValueBaseTEndianOrder Constructor

Creates a new binary value from the given byte array.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax
protected BinaryValueBase(
	TypeCode typeCode,
	byte[] buffer,
	int startIndex,
	int length
)
View Source

Parameters

typeCode  TypeCode
The type code of the native value that the binary value represents.
buffer  Byte
The buffer which contains the binary representation of the value.
startIndex  Int32
The offset in the buffer where the data starts.
length  Int32
The number of data bytes that make up the binary value.
Exceptions
ExceptionCondition
ArgumentNullExceptionbuffer is null
ArgumentOutOfRangeExceptionstartIndex is outside the range of the buffer -or- length is less than 0 -or- startIndex and length do not specify a valid region in the buffer
See Also