writeFloat method

void writeFloat(
  1. double? value
)

Implementation

void writeFloat(double? value) {
  if (value == null) {
    writeNil();
    return;
  }

  _bytesBuilder.addByte(MessagePackCode.float32);
  _writeBigEndianFloat(value);
}