object StreamDecoder
- Companion
- class
class Object
trait Matchable
class Any
Value members
Methods
Creates a stream decoder that reads the specified number of bits and then decodes them with the supplied stream decoder. Any remainder from the inner stream decoder is discarded.
Creates a stream decoder that decodes one A
using the supplied decoder.
Input bits are buffered until the decoder is able to decode an A
.
Creates a stream decoder that repeatedly decodes A
values until decoding fails.
If decoding fails, the read bits are not consumed and the stream decoder terminates,
having emitted any successfully decoded values earlier.