# Package org.apache.avro.io

Utilities for Encoding and Decoding Avro data.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DatumReader<D> | Read data of a schema.
  DatumWriter<D> | Write data of a schema.
  FastReaderBuilder.ExecutionStep |
  FastReaderBuilder.FieldReader |
  FastReaderBuilder.ReusingFieldReader |

- Class Summary
  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.
  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.MapReader |
  FastReaderBuilder.RecordReader |
  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.

- Enum Summary
  Enum | Description
  --- | ---
  FastReaderBuilder.RecordReader.Stage |

## Package org.apache.avro.io Description

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`.

Copyright © 2009–2024 The Apache Software Foundation. All rights reserved.