Add VarInt parse and append function