Function Encoder.writeInt

Writes a 32-bit integer.

abstract void writeInt (
  int n
) @safe;

Throws

AvroTypeException If this is a stateful writer and an integer is not expected