sizeOf

open fun sizeOf(value: T): Int?

Returns the encoded size in bytes, or null if not known statically.