DebugHexDecoder class

Converts various hex formats to Uint8List.

Rules for interpreting lines are:

  • Skip possible whitespace prefix.
  • Skip possible location prefix (number + ":" + whitespace).
  • Read the first group of hexadecimal digits. It must have even number of digits.
  • Every successive non-whitespace hexadecimal digit group with the equal or shorter length is interpreted as bytes.
  • The rest of the line is ignored.

Examples of valid lines:

  • "0000000: 0123 4567 89ab cdef 0123 4567 89ab cdef ................"
  • "0000010: 012345678 ............ # comment"
  • "abcdef // no prefix"
Inheritance

Constructors

DebugHexDecoder()
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

Methods

bind(Stream<String> stream) Stream<Uint8List>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(String s) Uint8List
Converts input and returns the result of the conversion.
override
fuse<TT>(Converter<Uint8List, TT> other) Converter<String, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<Uint8List> sink) Sink<String>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited

Operators

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