ExtractRangeFromArray Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Extracts a linear section of data from a byte array.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public Shared Function ExtractRangeFromArray ( _
data As Byte(), _
offset As Integer, _
count As Integer _
) As Byte()
public static byte[] ExtractRangeFromArray(
byte[] data,
int offset,
int count
)
public:
static array<unsigned char>^ ExtractRangeFromArray(
array<unsigned char>^ data,
int offset,
int count
)
static member ExtractRangeFromArray :
data:byte[] *
offset:int *
count:int -> byte[]
public static function ExtractRangeFromArray(
data : byte[],
offset : int,
count : int
) : byte[]
Parameters
- data
Type: array<System. . :: . .Byte> [] () [] []
The byte array of data.
- offset
Type: System. . :: . .Int32
The offset from the beginning of the byte array to the target data.
- count
Type: System. . :: . .Int32
The amount of data you want to extract, in bytes.
Return Value
Type: array<System. . :: . .Byte> [] () [] []
The byte array that contains the extracted data.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.