> For the complete documentation index, see [llms.txt](https://revenants-organization.gitbook.io/bytedb-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://revenants-organization.gitbook.io/bytedb-docs/packet-structure.md).

# Packet Structure

**HEADER:**

<table><thead><tr><th width="144">Value Type</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/IHKT8pLPfMEjbj9AsCXn">byte</a></td><td>Packet Type byte.</td></tr><tr><td><a href="/pages/9hwxZJIXeWQFPJ6T9SCL">Int&#x3C;3></a></td><td>Size of payload.</td></tr></tbody></table>

**After header payload starts and it is defined by the** [**packet** ](/bytedb-docs/packets/errorpacket.md)**itself.**
