Utility.ExtractValueFromArray Method
Extracts a value from a byte array, using the specified position and size of the data objects in the array.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
[MethodImplAttribute] public static UInt32 ExtractValueFromArray ( byte[] data, int pos, int size )
Parameters
- data
- The array of data from which you want to extract a value.
- pos
- The position of the data you want to extract from the array.
- size
- The size of the data objects you want to extract from the the array, in bytes. Valid arguments for this parameter are 1, 2, and 4.
Return Value
The value extracted from the byte array.