Bewerken

Delen via


SegmentBuilder.Append Method

Definition

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

Applies to