writeBoolean method
Implementation
void writeBoolean(bool? value) {
if (value == null) {
writeNil();
return;
}
_bytesBuilder
.addByte(value ? MessagePackCode.true_ : MessagePackCode.false_);
}
void writeBoolean(bool? value) {
if (value == null) {
writeNil();
return;
}
_bytesBuilder
.addByte(value ? MessagePackCode.true_ : MessagePackCode.false_);
}