|
ipfs-chromium
|
#include <src/ipfs_client/car.h>
Classes | |
| struct | Block |
Public Member Functions | |
| Car (ByteView bytes, ctx::CborParser &cbor_parser) | |
| std::optional< Block > | NextBlock () |
A (C)ontent-addressed (A)(r)chive Archive in the same sense as tape archive (.tar), Java archive (.jar), archive (.a) etc. However contains metadata not related to a filesystem, but to an IPLD DAG (or part of one)
| ipfs::Car::Car | ( | ByteView | bytes, |
| ctx::CborParser & | cbor_parser | ||
| ) |
Parse a CAR file
| bytes | The serialized form of the CAR |
| cbor_parser | A parser for the embedded cbor |
| std::optional< Block > ipfs::Car::NextBlock | ( | ) |
Pop the next block of the archive