ByteReadOnlySpanExtensions.GetUInt64 Method ​
Overloads ​
| Name | Description |
|---|---|
GetUInt64(ReadOnlySpan<Byte>) | Reads a little-endian UInt64 from a read-only span of bytes. |
GetUInt64(ReadOnlySpan<Byte>, Endian) | Reads a UInt64 from a read-only span of bytes using the specified endianness. |
GetUInt64(ReadOnlySpan<Byte>) ​
Reads a little-endian UInt64 from a read-only span of bytes.
c#
public static ulong GetUInt64(this ReadOnlySpan<Byte> bytes);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | ReadOnlySpan<Byte> |
Returns ​
The UInt64 value.
GetUInt64(ReadOnlySpan<Byte>, Endian) ​
Reads a UInt64 from a read-only span of bytes using the specified endianness.
c#
public static ulong GetUInt64(this ReadOnlySpan<Byte> bytes, Endian endian);Parameters ​
| Name | Type | Description |
|---|---|---|
bytes | ReadOnlySpan<Byte> | |
endian | Endian | The endianness to use. |
Returns ​
The UInt64 value.