Function Encoder.writeBoolean

Write a boolean value.

abstract void writeBoolean (
  bool b
) @safe;

Throws

AvroTypeException If this is a stateful writer and a boolean is not expected