Table of Contents

Method PastSync

Namespace
AvroSharp.Containers
Assembly
AvroSharp.dll

PastSync(long)

Gets whether the block of the most recently read object starts past a split that ends at position, so the object belongs to the next split. Read a split as: reader.Sync(start); while (reader.TryRead(out var value) && !reader.PastSync(end)) { ... }.

public bool PastSync(long position)

Parameters

position long

The end of the split.

Returns

bool

Exceptions

NotSupportedException

The stream cannot seek.