getStaticSize method
Returns the static size in bytes for encoding. For dynamic types, this returns 32 (the offset pointer size). For static types, this returns the actual encoded size.
Implementation
@override
int getStaticSize() {
// Dynamic tuples are encoded as offset pointer (32 bytes)
if (isDynamic) return 32;
// Static tuples: sum of all component sizes
return components.fold(0, (sum, c) => sum + c.getStaticSize());
}