다음을 통해 공유


BinaryPrimitives.TryReadUIntPtrLittleEndian 메서드

정의

중요

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

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

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

매개 변수

source
ReadOnlySpan<Byte>

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

value
UIntPtr

unativeint

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

반환

false 범위가 너무 작아서 를 UIntPtr포함할 수 없으면 이고, true그렇지 않으면 입니다.

특성

설명

범위 시작부터 64비트 플랫폼에서 32비트 플랫폼 또는 8바이트에서 정확히 4바이트를 읽습니다.

적용 대상