SegmentBuilder.Append Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Append(ArraySegment<Byte>, Int32, Byte[]) |
Appends an array of bytes to the end of the segment |
Append(ArraySegment<Byte>, Int32, String) |
Appends a string to the end of the segment |
Append(ArraySegment<Byte>, Int32, Byte[])
Appends an array of bytes to the end of the segment
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())
Parameters
- segment
- ArraySegment<Byte>
- writerOffset
- Int32
- bytes
- Byte[]
Applies to
Append(ArraySegment<Byte>, Int32, String)
Appends a string to the end of the segment
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)
Parameters
- segment
- ArraySegment<Byte>
- writerOffset
- Int32
- str
- String