BinaryPrimitives.ReadIntPtrLittleEndian(ReadOnlySpan<Byte>) Methode

Definitie

Leest een IntPtr vanaf het begin van een alleen-lezen bereik van bytes, als weinig endian.

public:
 static IntPtr ReadIntPtrLittleEndian(ReadOnlySpan<System::Byte> source);
public static IntPtr ReadIntPtrLittleEndian(ReadOnlySpan<byte> source);
static member ReadIntPtrLittleEndian : ReadOnlySpan<byte> -> nativeint
Public Shared Function ReadIntPtrLittleEndian (source As ReadOnlySpan(Of Byte)) As IntPtr

Parameters

source
ReadOnlySpan<Byte>

Het kenmerk Alleen-lezen om te lezen.

Retouren

IntPtr

nativeint

De kleine endiane waarde.

Uitzonderingen

source is te klein om een IntPtr.

Opmerkingen

Leest precies 4 bytes op 32-bits platforms , of 8 bytes op 64-bits platforms vanaf het begin van de periode.

Van toepassing op