ProtoDef-io / node-protodef

Describe your protocol, and read it with ease.
MIT License
31 stars 18 forks source link

Fix undefined varint for SizeOf and Write #110

Closed Karang closed 4 years ago

Karang commented 4 years ago

callType() have a different order of parameter depending on the type of compiler (Read, Sizeof, Write) Ultimately we want to change that so the type is always the first parameter and the other parameters have default values, but that require many changes in many projects (protodef, node-minecraft-protocol, prismarine-nbt). This is a simpler fix.