BinaryPrimitives.ReadUIntPtrLittleEndian(ReadOnlySpan<Byte>) Methode

Definitie

Belangrijk

Deze API is niet CLS-conform.

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

public:
 static UIntPtr ReadUIntPtrLittleEndian(ReadOnlySpan<System::Byte> source);
[System.CLSCompliant(false)]
public static UIntPtr ReadUIntPtrLittleEndian(ReadOnlySpan<byte> source);
[<System.CLSCompliant(false)>]
static member ReadUIntPtrLittleEndian : ReadOnlySpan<byte> -> unativeint
Public Shared Function ReadUIntPtrLittleEndian (source As ReadOnlySpan(Of Byte)) As UIntPtr

Parameters

source
ReadOnlySpan<Byte>

Het kenmerk Alleen-lezen om te lezen.

Retouren

UIntPtr

unativeint

De kleine endiane waarde.

Kenmerken

Uitzonderingen

source is te klein om een UIntPtr.

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