SegmentBuilder.Append 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Append(ArraySegment<Byte>, Int32, ArraySegment<Byte>)
- Source:
- SegmentBuilder.cs
将字节数组追加到段的末尾
public static void Append (ArraySegment<byte> segment, ref int writerOffset, ArraySegment<byte> append);
static member Append : ArraySegment<byte> * int * ArraySegment<byte> -> unit
Public Shared Sub Append (segment As ArraySegment(Of Byte), ByRef writerOffset As Integer, append As ArraySegment(Of Byte))
参数
- segment
- ArraySegment<Byte>
- writerOffset
- Int32
- append
- ArraySegment<Byte>
适用于
Append(ArraySegment<Byte>, Int32, Byte[])
- Source:
- SegmentBuilder.cs
将字节数组追加到段的末尾
public static void Append (ArraySegment<byte> segment, ref int writerOffset, byte[] bytes);
static member Append : ArraySegment<byte> * int * byte[] -> unit
Public Shared Sub Append (segment As ArraySegment(Of Byte), ByRef writerOffset As Integer, bytes As Byte())
参数
- segment
- ArraySegment<Byte>
- writerOffset
- Int32
- bytes
- Byte[]
适用于
Append(ArraySegment<Byte>, Int32, ReadOnlyMemory<Byte>)
- Source:
- SegmentBuilder.cs
将字节 ReadOnlyMemory<T> 追加到段的末尾
public static void Append (ArraySegment<byte> segment, ref int writerOffset, ReadOnlyMemory<byte> bytes);
static member Append : ArraySegment<byte> * int * ReadOnlyMemory<byte> -> unit
Public Shared Sub Append (segment As ArraySegment(Of Byte), ByRef writerOffset As Integer, bytes As ReadOnlyMemory(Of Byte))
参数
- segment
- ArraySegment<Byte>
- writerOffset
- Int32
- bytes
- ReadOnlyMemory<Byte>
适用于
Append(ArraySegment<Byte>, Int32, ReadOnlySpan<Byte>)
将字节 ReadOnlyMemory<T> 追加到段的末尾
public static void Append (ArraySegment<byte> segment, ref int writerOffset, ReadOnlySpan<byte> bytes);
static member Append : ArraySegment<byte> * int * ReadOnlySpan<byte> -> unit
Public Shared Sub Append (segment As ArraySegment(Of Byte), ByRef writerOffset As Integer, bytes As ReadOnlySpan(Of Byte))
参数
- segment
- ArraySegment<Byte>
- writerOffset
- Int32
- bytes
- ReadOnlySpan<Byte>
适用于
Append(ArraySegment<Byte>, Int32, String)
- Source:
- SegmentBuilder.cs
将字符串追加到段的末尾
public static void Append (ArraySegment<byte> segment, ref int writerOffset, string str);
static member Append : ArraySegment<byte> * int * string -> unit
Public Shared Sub Append (segment As ArraySegment(Of Byte), ByRef writerOffset As Integer, str As String)
参数
- segment
- ArraySegment<Byte>
- writerOffset
- Int32
- str
- String