core :: Writer :: write_bool
value
on a byte, using 0 for false
and 1 for true
# Write a boolean `value` on a byte, using 0 for `false` and 1 for `true`
fun write_bool(value: Bool) do write_byte if value then 1 else 0
lib/binary/binary.nit:72,2--73,65