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.275-beta+6cd8c2deb04a1aae6d4ac315ff222aabe4b2a6dd
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