# Package org.apache.avro.io

package org.apache.avro.io
Utilities for Encoding and Decoding Avro data.

`Encoder` is the abstract type encapsulating the encoding of Avro data. Encoder instances are created and configured with `EncoderFactory`.

`Decoder` is the abstract type encapsulating the decoding of Avro data. Decoder instances are created and configured with `DecoderFactory`.

Related Packages
Package
Description
org.apache.avro
Avro kernel classes.
org.apache.avro.io.parsing
Implementation of Avro schemas as LL(1) grammars.
Class
Description
BinaryData
Utilities for binary-encoded data.
BinaryDecoder
An `Decoder` for binary-format data.
BinaryEncoder
An abstract `Encoder` for Avro's binary encoding.
BlockingBinaryEncoder
A `BinaryEncoder` implementation that writes large arrays and maps as a sequence of blocks.
BlockingDirectBinaryEncoder
An `Encoder` for Avro's binary encoding that does not buffer output.
BufferedBinaryEncoder
An `Encoder` for Avro's binary encoding.
DatumReader<D>
Read data of a schema.
DatumWriter<D>
Write data of a schema.
Decoder
Low-level support for de-serializing Avro values.
DecoderFactory
A factory for creating and configuring `Decoder`s.
DirectBinaryEncoder
An `Encoder` for Avro's binary encoding that does not buffer output.
Encoder
Low-level support for serializing Avro values.
EncoderFactory
A factory for creating and configuring `Encoder` instances.
FastReaderBuilder
FastReaderBuilder.ExecutionStep
FastReaderBuilder.FieldReader
FastReaderBuilder.MapReader
FastReaderBuilder.RecordReader
FastReaderBuilder.RecordReader.Stage
FastReaderBuilder.ReusingFieldReader
JsonDecoder
A `Decoder` for Avro's JSON data encoding.
JsonEncoder
An `Encoder` for Avro's JSON data encoding.
ParsingDecoder
Base class for parser-based `Decoder`s.
ParsingEncoder
Base class for parser-based `Encoder`s.
ResolvingDecoder
`Decoder` that performs type-resolution between the reader's and writer's schemas.
ValidatingDecoder
An implementation of `Decoder` that ensures that the sequence of operations conforms to a schema.
ValidatingEncoder
An implementation of `Encoder` that wraps another Encoder and ensures that the sequence of operations conforms to the provided schema.