Serialize pagination state to a base64 string for storage/resumption.
Warning: No versioning is included. If the PaginationState interface changes
(e.g., new fields are added), deserialization of old serialized states may
fail or produce incorrect results. Consider implementing your own versioning
if you store pagination state long-term.
Serialize pagination state to a base64 string for storage/resumption.
Warning: No versioning is included. If the PaginationState interface changes (e.g., new fields are added), deserialization of old serialized states may fail or produce incorrect results. Consider implementing your own versioning if you store pagination state long-term.