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

Definição

Escreve num Int64 intervalo de bytes, como big endian.

public:
 static bool TryWriteInt64BigEndian(Span<System::Byte> destination, long value);
public static bool TryWriteInt64BigEndian(Span<byte> destination, long value);
static member TryWriteInt64BigEndian : Span<byte> * int64 -> bool
Public Shared Function TryWriteInt64BigEndian (destination As Span(Of Byte), value As Long) As Boolean

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.

Devoluções

true se o vão for suficientemente grande para conter um Int64; caso contrário, false.

Observações

Escreve exatamente 8 bytes no início do intervalo.

Aplica-se a