NAME
Archive::CAR::Indexer - Index generator for CAR archives
SYNOPSIS
use Archive::CAR::Indexer;
my $indexer = Archive::CAR::Indexer->new();
my $index_data = $indexer->generate_index($blocks);
DESCRIPTION
Archive::CAR::Indexer is an internal utility used to generate sorted multihash indexes for CAR v2 archives. It currently supports index format 0x0400 (Multihash Index Sorted).
METHODS
generate_index($blocks)
Generates a binary index for an arrayref of block records. Each record must contain a cid object and an offset.
SEE ALSO
AUTHOR
Sanko Robinson <sanko@cpan.org>
COPYRIGHT
Copyright (C) 2026 by Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.