BitConverter class abstract

Base class for bit-wise encoder and decoder implementation

Inheritance

Constructors

BitConverter()
Creates a new BitConverter instance.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → int
The bit-length of the input array elements. The value should be between 2 to 64.
no setter
target → int
The bit-length of the output array elements. The value should be between 2 to 64.
no setter

Methods

bind(Stream<Iterable<int>> stream) → Stream<Iterable<int>>
Transforms the provided stream.
inherited
cast<RS, RT>() → Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(covariant Iterable<int> input) → Iterable<int>
Converts input array of numbers with bit-length of source to an array of numbers with bit-length of target. The input array will be treated as a sequence of bits to convert.
override
fuse<TT>(Converter<Iterable<int>, TT> other) → Converter<Iterable<int>, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<Iterable<int>> sink) → Sink<Iterable<int>>
Starts a chunked conversion.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited