DVBinaryPayload class final

Named sections read out of an executable.

Properties

hashCode → int
The hash code for this object.
no setterinherited
names → List<String>
The section names, in the order they were written.
no setter
path → String
The executable this payload is in.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

locate(String name) → ({int length, int offset})?
Where section name lies in path: what a reader that reads it in place, rather than whole, needs. Null for a name not carried.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
section(String name) → Uint8List
One section's bytes. Throws ArgumentError for a name not carried.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

read(String path) → DVBinaryPayload?
The payload in the executable at path, or null when it has none.
splice(Uint8List executable, Map<String, List<int>> sections, {Set<String> aligned = const <String>{}}) → Uint8List
executable with sections carried inside it.