owengage / fastnbt

Fast serde serializer and deserializer for Minecraft's NBT and Anvil formats
MIT License
195 stars 36 forks source link

Add 128-bit integer support #53

Closed RubixDev closed 2 years ago

RubixDev commented 2 years ago

This PR adds support for (de)serializing i128 and u128 from/to NBT IntArrays of length 4. Minecraft always saves UUIDs as IntArrays with 4 entries which perfectly matches 128 bits.

owengage commented 2 years ago

Sounds like a useful extension. I'll hopefully have a look at this over the next few days. Thanks. :)