Encoded scalar payload length, without its field tag.
scalar_size :: (value: $T, $kind: Scalar) -> s64