BaseDecoder class abstract

Base of the decoder.

Implement this class to create a new decoder.

Implementers

Constructors

BaseDecoder.new()
Base of the decoder.
const

Properties

decoderName String
The name of the decoder.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedExtensions List<String>
How many file extensions are supported with the decoder.
no setter

Methods

compareTwoList(List<int> list1, List<int> list2) bool
compare two list.
convertRadix16ToInt(List<int> list, {bool reverse = false}) int
Convert hex a decimal list to int type.
getSize(ImageInput input) Size
Returns the size of the input.
getSizeAsync(AsyncImageInput input) Future<Size>
Returns the size of the input.
isExtensionSupported(String extension) bool
Returns the extension is support or not. Ignore the case of letters.
isValid(ImageInput input) bool
Returns the input is support or not.
isValidAsync(AsyncImageInput input) Future<bool>
Returns the input is support or not.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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