schemaSize

abstract val schemaSize: Int

Number of bytes required to encode this schema's metadata.

This represents the size of the schema definition itself (not the objects it describes). For primitive types, this is typically just 4 bytes (the tag). For complex types like classes or arrays, this includes additional metadata such as field definitions, element schemas, etc.

The schema size must be consistent for the same schema configuration and is used to allocate appropriate buffer space during encoding.