calculate
Defined in: packages/synapse-core/src/piece/calculate.ts:23
Compute the PieceCID of input. Always returns a Promise. For the
synchronous bytes case, use hasher directly.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | CalculateInput |