Chunk
A Chunk represents a single chunk inside a FileEntry inside a RDIndex.
It describes the chunk hash, the offset and the chunk size.
Each instance is produced automatically by the SDK when scanning directories or generating file entries.
Structure
export interface Chunk {
hash: string;
offset: number;
size: number;
}
Properties
| Property | Type | Description |
|---|---|---|
| hash | string | Hash of the chunk (blake3) |
| offset | number | The offset position of the chunk in the file |
| size | number | Size of the chunk in bytes |