Export (0) Print
Expand All

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)

public static UInt32 ExtractValueFromArray (
         byte[] data,
         int pos,
         int size


The array of data from which you want to extract a value.
The position of the data you want to extract from the array.
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.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

Community Additions

© 2015 Microsoft