This class converts Latin-1 bytes (lists of unsigned 8-bit integers) to a string.

Constructors

Latin1Decoder({bool allowInvalid: false})
const

Instantiates a new Latin1Decoder.

Methods

bind(Stream<List<int>> stream) → Stream<String>
inherited

Transform the incoming stream's events.

convert(List<int> bytes, [int start = 0, int end]) → String
inherited

Converts the bytes (a list of unsigned 7- or 8-bit integers) to the corresponding string.

fuse(Converter<String> other) → Converter<List<int>>
inherited

Fuses this with other.

startChunkedConversion(Sink<String> sink) → ByteConversionSink

Starts a chunked conversion.