Returns the serialized byte length of input.
input
@override int size(final T? input) => type.byteLength + (input != null ? subtype.byteLength : 0);