Table of Contents

Method Sync

Namespace
AvroSharp.Containers
Assembly
AvroSharp.dll

Sync()

Writes the buffered objects as a block, if there are any, and returns the position after it: where the next block starts, which Seek(long) accepts, as Apache Avro Java's DataFileWriter.sync() returns. The position counts from where the stream was when the writer was created (from 0 when the stream can't seek). The stream itself is not flushed.

public long Sync()

Returns

long