Share via


BinaryPrimitives.TryReadUInt32BigEndian 메서드

정의

중요

이 API는 CLS 규격이 아닙니다.

바이트의 읽기 전용 범위부터 시작하여 UInt32을 big endian으로 읽습니다.

public:
 static bool TryReadUInt32BigEndian(ReadOnlySpan<System::Byte> source, [Runtime::InteropServices::Out] System::UInt32 % value);
[System.CLSCompliant(false)]
public static bool TryReadUInt32BigEndian (ReadOnlySpan<byte> source, out uint value);
[<System.CLSCompliant(false)>]
static member TryReadUInt32BigEndian : ReadOnlySpan<byte> * uint32 -> bool
Public Shared Function TryReadUInt32BigEndian (source As ReadOnlySpan(Of Byte), ByRef value As UInteger) As Boolean

매개 변수

source
ReadOnlySpan<Byte>

읽을 바이트의 읽기 전용 범위입니다.

value
UInt32

이 메서드가 반환될 때 바이트의 읽기 전용 범위에서 읽은 값을 big endian으로 포함합니다.

반환

범위가 UInt32을 포함할 정도로 충분히 크면 true이고, 그렇지 않으면 false입니다.

특성

설명

범위의 시작 부분에서 정확히 4바이트를 읽습니다.

적용 대상