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