BinaryPrimitives.TryWriteInt32LittleEndian(Span<Byte>, Int32) 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 Int32 espaço de bytes, como little endian.
public:
static bool TryWriteInt32LittleEndian(Span<System::Byte> destination, int value);
public static bool TryWriteInt32LittleEndian(Span<byte> destination, int value);
static member TryWriteInt32LittleEndian : Span<byte> * int -> bool
Public Shared Function TryWriteInt32LittleEndian (destination As Span(Of Byte), value As Integer) As Boolean
Parâmetros
- value
- Int32
O valor a escrever no espaço de bytes.
Devoluções
true se o vão for suficientemente grande para conter um Int32; caso contrário, false.
Observações
Escreve exatamente 4 bytes até ao início do intervalo.