Document.movePositionBytes

Returns the position at "end" starting from the given "src" position which is assumed to be at byte "start" Faster to quickly calculate nearby positions of known byte positions. Falls back to bytesToPosition if end is before start.

struct Document
const
movePositionBytes
(,
size_t start
,
size_t end
)

Meta