decode

fun decode(cursor: String?): Long?

Decodes a cursor previously produced by encode back into its change sequence, or null when cursor is null or not a valid token.


fun decode(cursor: String?, epoch: Long): Long?

Decodes a cursor previously produced by encode with the same epoch back into its change sequence, or null when cursor is null, not a valid token, or issued under another epoch or none.