writeBoolean method
Writes a byte containg 0
if v
is false
, and 1
if it is true
.
Implementation
void writeBoolean(bool v) {
writeByte(v ? 1 : 0);
}
Writes a byte containg 0
if v
is false
, and 1
if it is true
.
void writeBoolean(bool v) {
writeByte(v ? 1 : 0);
}