appendText method

FastBinary appendText(
  1. String text, {
  2. String? charset,
})

Implementation

FastBinary appendText(String text, {String? charset}) {
  if (text.isEmpty) {
    return this;
  }
  List<int> binary = QuickTextCodec.encode(text, charset: charset);
  return appendList(binary);
}