> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# decode_single

> decode_single — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)::<wbr />[avro](https://docs.kinetica.com/content/api/rust/avro/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/avro.rs#L500-L505)&#x20;

<pre>`pub fn decode_single<T: DeserializeOwned>(    schema: &Schema,    binary_data: &[u8],) -> Result<T, KineticaError>`</pre>

Decodes a single binary Avro record using a pre-parsed schema.Useful for decoding individual records without the overhead of parallel processing setup.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.