Bewerken

Delen via


SegmentBuilder.ReadNextBytes(ArraySegment<Byte>, Int32) Method

Definition

Reads the next item in the segment as a byte array. For performance, this is returned as a sub-segment of the original segment.

public static ArraySegment<byte> ReadNextBytes (ArraySegment<byte> segment, ref int readerOffset);
static member ReadNextBytes : ArraySegment<byte> * int -> ArraySegment<byte>
Public Shared Function ReadNextBytes (segment As ArraySegment(Of Byte), ByRef readerOffset As Integer) As ArraySegment(Of Byte)

Parameters

segment
ArraySegment<Byte>
readerOffset
Int32

Returns

Applies to