Function Decoder.readFixed

Reads fixed sized binary object.

abstract ubyte[] readFixed (
  ulong length
) @safe;

Parameters

NameDescription
length The size of the binary object.

Throws

- AvroTypeException If this is a stateful reader and fixed sized binary object is not the type of the next value to be read or the length is incorrect. - IOException

Returns

The fixed size binary object.