Table of Contents

Method ReadFixedSpan

Namespace
AvroSharp.IO
Assembly
AvroSharp.dll

ReadFixedSpan(int)

Reads a fixed value of size bytes, without copying when contiguous.

public ReadOnlySpan<byte> ReadFixedSpan(int size)

Parameters

size int

The schema's fixed size.

Returns

ReadOnlySpan<byte>