writeVarInt

fun writeVarInt(value: Int, extraBytes: Int = 0)
fun writeVarInt(value: Long, extraBytes: Int = 0)