Table of Contents

Method ReadBytesSpan

Namespace
AvroSharp.IO
Assembly
AvroSharp.dll

ReadBytesSpan()

Reads bytes and returns them without copying when they are contiguous in the input (always, for span input). A value that straddles sequence segments is copied into a new array.

public ReadOnlySpan<byte> ReadBytesSpan()

Returns

ReadOnlySpan<byte>