BinaryPrimitives.WriteUInt64LittleEndian(Span<Byte>, UInt64) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 API 不符合 CLS。
将 UInt64 以小字节序形式写入字节范围。
public:
static void WriteUInt64LittleEndian(Span<System::Byte> destination, System::UInt64 value);
[System.CLSCompliant(false)]
public static void WriteUInt64LittleEndian (Span<byte> destination, ulong value);
[<System.CLSCompliant(false)>]
static member WriteUInt64LittleEndian : Span<byte> * uint64 -> unit
Public Shared Sub WriteUInt64LittleEndian (destination As Span(Of Byte), value As ULong)
参数
- value
- UInt64
要写入到字节范围内的值。
- 属性
例外
destination 太小,无法包含 UInt64。
注解
将恰好 8 个字节写入范围开头。