add method

void add(
  1. CID cid,
  2. int offset
)

Records a new section at offset with the given cid.

Implementation

void add(CID cid, int offset) {
  _entries.add(_IndexEntry(cid, offset));
}