encodeValue method

  1. @override
Uint8List encodeValue(
  1. List x
)
override

Encode the value. This needs to be public because it is used by encodeValue() from different types. @internal

Implementation

@override
Uint8List encodeValue(List x) {
  final buffer = zipWith<CType, dynamic, Uint8List>(
    _components,
    x,
    (c, d) => c.encodeValue(d),
  );
  return u8aConcat(buffer);
}