Table of Contents

Method Sync

Namespace
AvroSharp.Containers
Assembly
AvroSharp.dll

Sync(long)

Moves to the block after the first sync marker that starts at or after position, found by scanning. A position at or before the header's own marker moves to the first block, even when the header's metadata happens to contain the marker. With no marker after the position, the reader is at the end.

public void Sync(long position)

Parameters

position long

Any stream position, for example the start of a split.

Exceptions

NotSupportedException

The stream cannot seek.