willemml / hl-mc-kt

Headless Minecraft Client written in Kotlin
GNU General Public License v3.0
46 stars 12 forks source link

Good VarInt read and write as well as unsigned number read/write #3

Closed willemml closed 4 years ago

willemml commented 4 years ago

Need good methods for reading and writing UBytes/UShorts to/from Sockets as well as VarInts and VarLongs, check https://wiki.vg/Protocol#Data_types for more info.