次の方法で共有


BinaryPrimitives.ReadUInt64LittleEndian(ReadOnlySpan<Byte>) メソッド

定義

重要

この API は CLS 準拠ではありません。

バイトの読み取り専用スパンの先頭から、リトル エンディアンとして UInt64 を読み取ります。

public:
 static System::UInt64 ReadUInt64LittleEndian(ReadOnlySpan<System::Byte> source);
[System.CLSCompliant(false)]
public static ulong ReadUInt64LittleEndian (ReadOnlySpan<byte> source);
[<System.CLSCompliant(false)>]
static member ReadUInt64LittleEndian : ReadOnlySpan<byte> -> uint64
Public Shared Function ReadUInt64LittleEndian (source As ReadOnlySpan(Of Byte)) As ULong

パラメーター

source
ReadOnlySpan<Byte>

読み取るバイトの読み取り専用スパン。

戻り値

リトル エンディアン値。

属性

例外

source が小さすぎて UInt64 を格納できません。

注釈

スパンの先頭から正確に 8 バイトを読み取ります。

適用対象