IBinaryInteger<TSelf>.WriteLittleEndian 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| WriteLittleEndian(Span<Byte>) |
将当前值(以小端格式)写入给定范围。 |
| WriteLittleEndian(Byte[]) |
将当前值(以小端格式)写入给定数组。 |
| WriteLittleEndian(Byte[], Int32) |
将当前值(以小尾格式)写入从指定索引开始的指定数组。 |
WriteLittleEndian(Span<Byte>)
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
将当前值(以小端格式)写入给定范围。
public:
virtual int WriteLittleEndian(Span<System::Byte> destination);
public virtual int WriteLittleEndian(Span<byte> destination);
abstract member WriteLittleEndian : Span<byte> -> int
override this.WriteLittleEndian : Span<byte> -> int
Public Overridable Function WriteLittleEndian (destination As Span(Of Byte)) As Integer
参数
返回
写入 到 destination的字节数。
适用于
WriteLittleEndian(Byte[])
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
将当前值(以小端格式)写入给定数组。
public:
virtual int WriteLittleEndian(cli::array <System::Byte> ^ destination);
public virtual int WriteLittleEndian(byte[] destination);
abstract member WriteLittleEndian : byte[] -> int
override this.WriteLittleEndian : byte[] -> int
Public Overridable Function WriteLittleEndian (destination As Byte()) As Integer
参数
- destination
- Byte[]
应向其写入当前值的数组。
返回
写入 到 destination的字节数。
适用于
WriteLittleEndian(Byte[], Int32)
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
将当前值(以小尾格式)写入从指定索引开始的指定数组。
public:
virtual int WriteLittleEndian(cli::array <System::Byte> ^ destination, int startIndex);
public virtual int WriteLittleEndian(byte[] destination, int startIndex);
abstract member WriteLittleEndian : byte[] * int -> int
override this.WriteLittleEndian : byte[] * int -> int
Public Overridable Function WriteLittleEndian (destination As Byte(), startIndex As Integer) As Integer
参数
- destination
- Byte[]
应向其写入当前值的数组。
- startIndex
- Int32
应在其中写入值的起始索引。
返回
写入到 destination 起始 startIndex位置的字节数。