writeZInt

fun writeZInt(i: Int)

Write a zig-zag-encoded .writeVInt integer. This is typically useful to write small signed ints and is equivalent to calling writeVInt(BitUtil.zigZagEncode(i)).

See also