# Uses of Class
org.apache.avro.io.BinaryDecoder

Packages that use BinaryDecoder
Package
Description
org.apache.avro.io
Utilities for Encoding and Decoding Avro data.
org.apache.avro.specific
Generate specific Java classes for schemas and protocols.

## Uses of BinaryDecoder in org.apache.avro.io

Methods in org.apache.avro.io that return BinaryDecoder
Modifier and Type
Method
Description
`BinaryDecoder`
DecoderFactory.`binaryDecoder(byte[] bytes, int offset, int length, BinaryDecoder reuse)`
Creates or reinitializes a `BinaryDecoder` with the byte array provided as the source of data.
`BinaryDecoder`
DecoderFactory.`binaryDecoder(byte[] bytes, BinaryDecoder reuse)`
This method is shorthand for
`BinaryDecoder`
DecoderFactory.`binaryDecoder(InputStream in, BinaryDecoder reuse)`
Creates or reinitializes a `BinaryDecoder` with the input stream provided as the source of data.
`BinaryDecoder`
DecoderFactory.`createBinaryDecoder(byte[] bytes, int offset, int length, BinaryDecoder reuse)`
Deprecated.
use `DecoderFactory.binaryDecoder(byte[], int, int, BinaryDecoder)` instead
`BinaryDecoder`
DecoderFactory.`createBinaryDecoder(byte[] bytes, BinaryDecoder reuse)`
Deprecated.
use `DecoderFactory.binaryDecoder(byte[], BinaryDecoder)` instead
`BinaryDecoder`
DecoderFactory.`createBinaryDecoder(InputStream in, BinaryDecoder reuse)`
Deprecated.
use the equivalent `DecoderFactory.binaryDecoder(InputStream, BinaryDecoder)` instead
`BinaryDecoder`
DecoderFactory.`directBinaryDecoder(InputStream in, BinaryDecoder reuse)`
Creates or reinitializes a `BinaryDecoder` with the input stream provided as the source of data.
Methods in org.apache.avro.io with parameters of type BinaryDecoder
Modifier and Type
Method
Description
`BinaryDecoder`
DecoderFactory.`binaryDecoder(byte[] bytes, int offset, int length, BinaryDecoder reuse)`
Creates or reinitializes a `BinaryDecoder` with the byte array provided as the source of data.
`BinaryDecoder`
DecoderFactory.`binaryDecoder(byte[] bytes, BinaryDecoder reuse)`
This method is shorthand for
`BinaryDecoder`
DecoderFactory.`binaryDecoder(InputStream in, BinaryDecoder reuse)`
Creates or reinitializes a `BinaryDecoder` with the input stream provided as the source of data.
`BinaryDecoder`
DecoderFactory.`createBinaryDecoder(byte[] bytes, int offset, int length, BinaryDecoder reuse)`
Deprecated.
use `DecoderFactory.binaryDecoder(byte[], int, int, BinaryDecoder)` instead
`BinaryDecoder`
DecoderFactory.`createBinaryDecoder(byte[] bytes, BinaryDecoder reuse)`
Deprecated.
use `DecoderFactory.binaryDecoder(byte[], BinaryDecoder)` instead
`BinaryDecoder`
DecoderFactory.`createBinaryDecoder(InputStream in, BinaryDecoder reuse)`
Deprecated.
use the equivalent `DecoderFactory.binaryDecoder(InputStream, BinaryDecoder)` instead
`BinaryDecoder`
DecoderFactory.`directBinaryDecoder(InputStream in, BinaryDecoder reuse)`
Creates or reinitializes a `BinaryDecoder` with the input stream provided as the source of data.

## Uses of BinaryDecoder in org.apache.avro.specific

Methods in org.apache.avro.specific that return BinaryDecoder
Modifier and Type
Method
Description
`static BinaryDecoder`
SpecificData.`getDecoder(ObjectInput in)`
Runtime utility used by generated classes.