Skip to content

SegmentBuilder.Append(ArraySegment<byte>, int, ReadOnlySpan<byte>)

Append(ArraySegment<byte>, int, ReadOnlySpan<byte>)

static
View source
public static void Append(ArraySegment<byte> segment, ref int writerOffset, ReadOnlySpan<byte> bytes)
Appends a System.ReadOnlyMemory of bytes to the end of the segment

Parameters

segmentArraySegment<byte>
writerOffsetint
bytesReadOnlySpan<byte>