BigEndianToUInt24(Byte*) Method

Returns a 24-bit unsigned integer converted from three bytes, accounting for target endian-order, at a specified position in a byte array.

Definition

Namespace: Gemstone.Numeric.UInt24Extensions
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.128 -- Release Build+8719af24b83815a59535b3885622cedd021e9c5b
public static UInt24 ToUInt24(
	byte* buffer
)

Parameters

buffer  Byte*
An array of bytes (i.e., buffer containing binary image of value).

Return Value

UInt24
A 24-bit unsigned integer formed by three bytes beginning at startIndex.

Exceptions

ArgumentNullExceptionvalue is null.
ArgumentOutOfRangeExceptionstartIndex is less than zero or greater than the length of value minus 1.

See Also