description

# decodeStream method

Future<String> decodeStream (Stream<List<int>> byteStream)

## Implementation

    Future<String> decodeStream(Stream<List<int>> byteStream) {
      return byteStream
          .transform<String>(decoder)
          .fold(StringBuffer(),
              (StringBuffer buffer, String string) => buffer..write(string))
          .then((StringBuffer buffer) => buffer.toString());
    }