BinaryPrimitives.WriteSingleBigEndian(Span<Byte>, Single) Método
Definição
public:
static void WriteSingleBigEndian(Span<System::Byte> destination, float value);
public static void WriteSingleBigEndian (Span<byte> destination, float value);
static member WriteSingleBigEndian : Span<byte> * single -> unit
Public Shared Sub WriteSingleBigEndian (destination As Span(Of Byte), value As Single)
Parâmetros
O intervalo de bytes em que o valor deve ser gravado, como big endian.The span of bytes where the value is to be written, as big endian.
- value
- Single
O valor a ser gravado no intervalo de bytes.The value to write into the span of bytes.
Exceções
Comentários
Grava exatamente 4 bytes no início do span.Writes exactly 4 bytes to the beginning of the span.