fromOffset

Create an OffsetCursor from an offset value. Encodes the offset into the cursor string format.

Return

An OffsetCursor containing the encoded cursor string

Parameters

offset

The zero-based offset position

Throws

if offset is negative