Redigera

Dela via


SegmentBuilder.Append Method

Definition

Overloads

Append(ArraySegment<Byte>, Int32, ArraySegment<Byte>)

Appends an array of bytes to the end of the segment

Append(ArraySegment<Byte>, Int32, Byte[])

Appends an array of bytes to the end of the segment

Append(ArraySegment<Byte>, Int32, ReadOnlyMemory<Byte>)

Appends a ReadOnlyMemory<T> of bytes to the end of the segment

Append(ArraySegment<Byte>, Int32, ReadOnlySpan<Byte>)

Appends a ReadOnlyMemory<T> 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, ArraySegment<Byte>)

Source:
SegmentBuilder.cs

Appends an array of bytes to the end of the segment

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))

Parameters

segment
ArraySegment<Byte>
writerOffset
Int32
append
ArraySegment<Byte>

Applies to

Append(ArraySegment<Byte>, Int32, Byte[])

Source:
SegmentBuilder.cs

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, ReadOnlyMemory<Byte>)

Source:
SegmentBuilder.cs

Appends a ReadOnlyMemory<T> of bytes to the end of the segment

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))

Parameters

segment
ArraySegment<Byte>
writerOffset
Int32

Applies to

Append(ArraySegment<Byte>, Int32, ReadOnlySpan<Byte>)

Appends a ReadOnlyMemory<T> of bytes to the end of the segment

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))

Parameters

segment
ArraySegment<Byte>
writerOffset
Int32

Applies to

Append(ArraySegment<Byte>, Int32, String)

Source:
SegmentBuilder.cs

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