EnumFormatByHandlers<V extends Enum> class
- Inheritance
-
- Object
- BinaryFormat<
Int, V> - EnumFormat<
V> - EnumFormatByHandlers
Constructors
-
EnumFormatByHandlers(List<
V> values, {required DataDecoder<V> decoder, required DataEncoder<V> encoder}) -
const
Properties
- binaryRange → ({int max, int min})
-
no setterinherited
- bitWidth → int
-
no setterinherited
- byteSize → int
-
no setterinherited
-
decoder
→ DataDecoder<
V> -
final
-
encoder
→ DataEncoder<
V> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSigned → bool
-
no setterinherited
- range → ({int max, int min})
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signExtension → int Function(int)?
-
no setterinherited
-
values
→ List<
V> -
finalinherited
-
viewType
→ TypeKey<
V> -
no setterinherited
Methods
-
clampBase(
int raw) → int -
inherited
-
decode(
int data) → V -
override
-
encode(
V view) → int -
override
-
mask(
int raw) → int -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signedOf(
int raw) → int -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited