DebugHexDecoder class

Converts various hex-formatted text into a Uint8List.

Parsing rules:

  • Skip optional whitespace prefix.
  • Skip optional location prefix (number + ":" + whitespace).
  • Read the first group of hexadecimal digits — it must have an even number of digits.
  • Every following non-whitespace group of equal or shorter length is parsed as bytes.
  • Anything after the valid hex data on a 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