BinaryPrimitives.TryWriteInt64BigEndian(Span<Byte>, Int64) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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
- 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.