mstefarov / fNbt

A C# library for reading and writing Named Binary Tag (NBT) files and streams. A continuation of libnbt project, originally by Erik Davidson (aphistic).
116 stars 31 forks source link

MCPE changed the NBT format #22

Open NiclasOlofsson opened 8 years ago

NiclasOlofsson commented 8 years ago

MiNET rely heavily on fnbt for all things NBT. Mostly because of its exceptional speed. Now, with the release of Minecraft Pocket Edition 0.16, Mojang changed the encoding of int to use google protobuf varint instead. Can you consider adding these changes to fnbt as an option.

If for instance would make the creation of NbtBinaryWriter (and reader) through a callback (factory) method, I could implement my own stuff without having to bother you with the details of the specific changes.

mstefarov commented 8 years ago

Thanks for letting me know. I will add an option in the next release.