serialize method

  1. @override
List<int> serialize()
override

Serializes this parameter value to binary format.

Returns a list of bytes representing the parameter value.

Implementation

@override
List<int> serialize() {
  final b = utf8.encode(value);
  return [_tagString, ..._u32Le(b.length), ...b];
}