schemaSize

open override val schemaSize: Int

Number of bytes in this schema's definition.

This is the size of the schema, not of the objects it describes. A primitive schema is only its 4-byte tag. A class or array adds field definitions and nested element schemas.

It must not change for a given schema, because the writer allocates against it.