Minecraft protocol VarInt and VarLong. How to make a number out of ones and zeros using Go as an example?