titus.datatype.AvroFixed

class titus.datatype.AvroFixed(size, name=None, namespace=None)[source]

Bases: titus.datatype.AvroRaw, titus.datatype.AvroCompiled

Avro “fixed” type for fixed-length byte arrays.

__init__(size, name=None, namespace=None)

Create an AvroFixed manually.

Parameters:
  • size (int) – length of the fixed-length byte arrays
  • name (string or NoneType) – name or an auto-generated name
  • namespace (string or NoneType) – namespace or no namespace
jsonNode(memo)
size

Length of the fixed-length byte arrays.