VariableSizeEncoder<T> constructor
VariableSizeEncoder<T> ({})
Creates a variable-size encoder.
Implementation
VariableSizeEncoder({
required this._getSizeFromValue,
required this._write,
this.maxSize,
});