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)

Syntax

[MethodImplAttribute]
public static UInt32 ExtractValueFromArray (
         byte[] data,
         intpos,
         intsize
)

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.

Version Information

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

See Also

Reference

Utility Class
Utility Members
Microsoft.SPOT.Hardware Namespace