ExtractValueFromArray Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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.Native (in Microsoft.SPOT.Native.dll)
'Declaration
Public Shared Function ExtractValueFromArray ( _
data As Byte(), _
pos As Integer, _
size As Integer _
) As UInteger
public static uint ExtractValueFromArray(
byte[] data,
int pos,
int size
)
public:
static unsigned int ExtractValueFromArray(
array<unsigned char>^ data,
int pos,
int size
)
static member ExtractValueFromArray :
data:byte[] *
pos:int *
size:int -> uint32
public static function ExtractValueFromArray(
data : byte[],
pos : int,
size : int
) : uint
- data
Type: array<System. . :: . .Byte> [] () [] []
The array of data from which you want to extract a value.
- pos
Type: System. . :: . .Int32
The position of the data you want to extract from the array.
- size
Type: System. . :: . .Int32
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.
Type: System. . :: . .UInt32
The value extracted from the byte array.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.