BinaryPrimitives.WriteInt64BigEndian(Span<Byte>, Int64) Método

Definição

Escreve num Int64 intervalo de bytes, como big endian.

public:
 static void WriteInt64BigEndian(Span<System::Byte> destination, long value);
public static void WriteInt64BigEndian(Span<byte> destination, long value);
static member WriteInt64BigEndian : Span<byte> * int64 -> unit
Public Shared Sub WriteInt64BigEndian (destination As Span(Of Byte), value As Long)

Parâmetros

destination
Span<Byte>

O intervalo de bytes onde o valor deve ser escrito, como big endian.

value
Int64

O valor a escrever no espaço de bytes.

Exceções

destination é demasiado pequeno para conter um Int64.

Observações

Escreve exatamente 8 bytes no início do intervalo.

Aplica-se a