Emits ur:<type>/<seqNum>-<seqLen>/<bytewords> part strings forever;
iterate it, or call nextPart to step.
The sequence is infinite by design (a fountain code): Array.from(encoder)
and [...encoder] never return. Iterate with for … of and break when
the receiver is done, or take a prefix with the iterator helpers
(encoder[Symbol.iterator]().take(n), Node ≥ 22).
Parts of at most maxFragmentLength payload bytes each. The length is
the reference's usize: a safe integer number, or a bigint up to
2⁶⁴ − 1 (a number of 2⁵³ or more is not accepted, as it may already
have been rounded).
Emits
ur:<type>/<seqNum>-<seqLen>/<bytewords>part strings forever; iterate it, or callnextPartto step.The sequence is infinite by design (a fountain code):
Array.from(encoder)and[...encoder]never return. Iterate withfor … ofandbreakwhen the receiver is done, or take a prefix with the iterator helpers (encoder[Symbol.iterator]().take(n), Node ≥ 22).