writeBoolean

fun writeBoolean(v: Boolean)

Writes a boolean value as a single byte (1 for true, 0 for false) at the current position.