maybe `writeVLong` would be better suited?