write

fun write(buf: ByteBuf, value: Int)

Writes value as a VarInt into buf.