SegmentBuilder.ReadNextBytes(ArraySegment<Byte>, Int32) 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.
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