Click or drag to resize

LittleBinaryValue(TypeCode, Byte, Int32, Int32) Constructor

Creates a new little-endian ordered binary value from the given byte array.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public LittleBinaryValue(
	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