BinaryPrimitives.WriteUIntPtrLittleEndian(Span<Byte>, UIntPtr) Methode

Definitie

Belangrijk

Deze API is niet CLS-conform.

Schrijft een UIntPtr in een reeks bytes, als weinig endian.

public:
 static void WriteUIntPtrLittleEndian(Span<System::Byte> destination, UIntPtr value);
[System.CLSCompliant(false)]
public static void WriteUIntPtrLittleEndian(Span<byte> destination, UIntPtr value);
[<System.CLSCompliant(false)>]
static member WriteUIntPtrLittleEndian : Span<byte> * unativeint -> unit
Public Shared Sub WriteUIntPtrLittleEndian (destination As Span(Of Byte), value As UIntPtr)

Parameters

destination
Span<Byte>

Het bereik van bytes waarin de waarde moet worden geschreven, als weinig endian.

value
UIntPtr

unativeint

De waarde die moet worden geschreven in het bereik van bytes.

Kenmerken

Uitzonderingen

destination is te klein om een UIntPtr.

Opmerkingen

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

Van toepassing op