BinaryPrimitives.ReadInt64LittleEndian(ReadOnlySpan<Byte>) 方法
定义
public:
static long ReadInt64LittleEndian(ReadOnlySpan<System::Byte> source);
public static long ReadInt64LittleEndian (ReadOnlySpan<byte> source);
static member ReadInt64LittleEndian : ReadOnlySpan<byte> -> int64
Public Shared Function ReadInt64LittleEndian (source As ReadOnlySpan(Of Byte)) As Long
参数
- source
- ReadOnlySpan<Byte>
要读取的只读跨度。The read-only span to read.
返回
小字节序值。The little endian value.
例外
注解
从跨度的开头精确读取8个字节。Reads exactly 8 bytes from the beginning of the span.