Function Decoder.readBoolean

Reads a boolean value written by [Encoder.writeBoolean].

abstract bool readBoolean() @safe;

Throws

[AvroTypeException] If this is a stateful reader and boolean is not the type of the next value to be read