readString abstract method

String readString([
  1. int? byteCount,
  2. Converter<List<int>, String> decoder = utf8Decoder
])

Read byteCount bytes and decode an UTF-8 String.

If byteCount is not provided, it is read first.

Implementation

String readString([
  int? byteCount,
  Converter<List<int>, String> decoder = utf8Decoder,
]);