CarSection class

A single CID/block section within a CAR archive.

Constructors

CarSection({required CID cid, required Uint8List bytes})
Creates a CarSection with the given cid and bytes.

Properties

bytes → Uint8List
The raw block bytes of this section.
final
cid → CID
The CID of this section.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serializedSize → int
The on-wire size of this section, including the varint length prefix.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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