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, 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
- bytes
- ReadOnlyMemory<Byte>
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
- bytes
- ReadOnlySpan<Byte>
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