toStringData method

String toStringData()

Reads the entire content of the BIO into a String.

Implementation

String toStringData() {
  final bytes = toBytes();
  return String.fromCharCodes(bytes);
}