$args */ public static function decode(array $args): int { if ($cursor = Arr::get($args, 'after')) { return (int) \Safe\base64_decode($cursor); } return 0; } /** * Encode the given offset to make the implementation opaque. */ public static function encode(int $offset): string { return base64_encode((string) $offset); } }