Share via


Utility.ExtractRangeFromArray Method

Extracts a linear section of data from a byte array.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

[MethodImplAttribute]
public static byte [] ExtractRangeFromArray (
         byte[] data,
         intoffset,
         intcount
)

Parameters

  • data
    The byte array of data.
  • offset
    The offset from the beginning of the byte array to the target data.
  • count
    The amount of data you want to extract, in bytes.

Return Value

The byte array that contains the extracted data.

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