encode method

  1. @override
ByteBuffer encode(
  1. String data
)
override

Implementation

@override
ByteBuffer encode(String data) {
  return Uint8List.fromList(data.codeUnits).buffer;
}