BinaryPrimitives.ReadUInt32BigEndian(ReadOnlySpan<Byte>) Método

Definición

Importante

Esta API no es conforme a CLS.

Lee desde UInt32 el principio de un intervalo de bytes de solo lectura, como big endian.

public:
 static System::UInt32 ReadUInt32BigEndian(ReadOnlySpan<System::Byte> source);
[System.CLSCompliant(false)]
public static uint ReadUInt32BigEndian(ReadOnlySpan<byte> source);
[<System.CLSCompliant(false)>]
static member ReadUInt32BigEndian : ReadOnlySpan<byte> -> uint32
Public Shared Function ReadUInt32BigEndian (source As ReadOnlySpan(Of Byte)) As UInteger

Parámetros

source
ReadOnlySpan<Byte>

Intervalo de solo lectura que se va a leer.

Devoluciones

Valor big endian.

Atributos

Excepciones

sourcees demasiado pequeño para contener .UInt32

Comentarios

Lee exactamente 4 bytes desde el principio del intervalo.

Se aplica a