BinaryPrimitives.WriteUInt64BigEndian(Span<Byte>, UInt64) Metod

Definition

Viktigt!

Detta API uppfyller inte CLS.

Skriver en UInt64 till ett intervall med byte, som stor endian.

public:
 static void WriteUInt64BigEndian(Span<System::Byte> destination, System::UInt64 value);
[System.CLSCompliant(false)]
public static void WriteUInt64BigEndian(Span<byte> destination, ulong value);
[<System.CLSCompliant(false)>]
static member WriteUInt64BigEndian : Span<byte> * uint64 -> unit
Public Shared Sub WriteUInt64BigEndian (destination As Span(Of Byte), value As ULong)

Parametrar

destination
Span<Byte>

Intervallet för byte där värdet ska skrivas, som stor endian.

value
UInt64

Värdet som ska skrivas in i byteintervallet.

Attribut

Undantag

destination är för liten för att innehålla en UInt64.

Kommentarer

Skriver exakt 8 byte till början av intervallet.

Gäller för