CarReader class
Streaming/iterable reader for CAR v1 and v2 archives.
Constructors
- CarReader.fromBytes(Uint8List bytes)
- Parses a CAR archive from the given byte data.
-
CarReader.fromStream(Stream<
Uint8List> stream) - Parses a CAR archive from a stream of byte chunks.
Properties
Methods
-
findCID(
CID cid) → Future< int?> -
Returns the byte offset of the section containing
cid, ornullif not present. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sections(
) → Stream< CarSection> - Returns a stream that yields each CarSection in file order.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited