Specification
Each tag has a header consisting of 7 bytes.
| 1 Byte | 4 Bytes | 2 Bytes |
|---|---|---|
| The Data Type | The size of the tag (in bytes) starting from the next byte. | The number of bytes the key has. |
Each tag has a key. There can only be one tag with a certain key.
Data Types
| Byte | Type |
|---|---|
| 0 | Reserved |
| 1 | String |
| 2 | int |
| 3 | Float |
| 4 | Double |
| 5 | Short |
| 6 | Long |
| 7 | Char |
| 8 | Byte |
| 9 | List |
| 10 | Map |
| 11 | Object |
| 12 | Compressed Object |