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