Split a bitmark document into per-bit source slices.
start / end locate each slice's source in input, counted in
positionEncoding units — with the default "utf-16",
input.slice(start, end) === source. byteStart / byteEnd are UTF-8
byte offsets that tile the document, for chunking.
Split a bitmark document into per-bit source slices.
start/endlocate each slice'ssourceininput, counted inpositionEncodingunits — with the default"utf-16",input.slice(start, end) === source.byteStart/byteEndare UTF-8 byte offsets that tile the document, for chunking.