Class AvroFileReader
- Namespace
- AvroSharp.Containers
- Assembly
- AvroSharp.dll
Opens AvroFileReader<T> instances.
public static class AvroFileReader
- Inheritance
-
AvroFileReader
- Inherited Members
Methods
- OpenAsync<T>(Stream, AvroFileReaderOptions?, CancellationToken)
Opens a container file of a generated type, reading its header asynchronously.
- OpenAsync<T>(Stream, Func<AvroSchema, AvroReadFunc<T>>, AvroFileReaderOptions?, CancellationToken)
Reads a file's header asynchronously and returns a reader of its objects.
- OpenGeneric(Stream, AvroSchema?, AvroFileReaderOptions?, GenericDatumReaderOptions?)
Reads a file's header and returns a reader of its objects as generic values.
- OpenGenericAsync(Stream, AvroSchema?, AvroFileReaderOptions?, GenericDatumReaderOptions?, CancellationToken)
Reads a file's header asynchronously and returns a reader of its objects as generic values.
- Open<T>(Stream, AvroFileReaderOptions?)
Opens a container file of a generated type, reading data of another version of its schema by resolution.
- Open<T>(Stream, Func<AvroSchema, AvroReadFunc<T>>, AvroFileReaderOptions?)
Reads a file's header and returns a reader of its objects.