pub fn decode_valkey_cursor(
cursor: &StreamCursor,
) -> Result<Option<(u64, u64)>, &'static str>Expand description
Decode a Valkey cursor back to (ms, seq). Returns None for the
empty / tail-from-now cursor. Returns Err for malformed bytes
(wrong prefix, truncated).