encodeValue method
Encode the value. This needs to be public because it is used by encodeValue() from different types. @internal
Implementation
@override
Uint8List encodeValue(String x) {
final buf = x.plainToU8a(useDartEncode: true);
final len = lebEncode(buf.length);
return u8aConcat([len, buf]);
}