Function Decoder.readInt

Reads an integer written by [Encoder.writeInt].

abstract int readInt() @safe;

Throws

- AvroTypeException If encoded value is larger than 32-bits. - AvroTypeException If this is a stateful reader and int is not the type of the next value to be read