SegmentBuilder.Append 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Append(ArraySegment<Byte>, Int32, Byte[]) |
将字节数组追加到段末尾 |
Append(ArraySegment<Byte>, Int32, String) |
将字符串追加到段的末尾 |
Append(ArraySegment<Byte>, Int32, Byte[])
将字节数组追加到段末尾
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, String)
将字符串追加到段的末尾
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