CursorToken
org.sigilaris.node.gossip.GossipCursorModel$package.CursorToken
object CursorToken
Attributes
- Source
- GossipCursorModel.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CursorToken.type
Members list
Value members
Concrete methods
Decodes a base64url-encoded cursor token.
Decodes a base64url-encoded cursor token.
Value parameters
- value
-
the base64url string (without padding)
Attributes
- Returns
-
the token, or an error message
- Source
- GossipCursorModel.scala
Creates a cursor token from raw bytes.
Creates a cursor token from raw bytes.
Value parameters
- bytes
-
the raw bytes (must not be empty)
Attributes
- Returns
-
the token, or an error if empty
- Source
- GossipCursorModel.scala
Issues a new cursor token with the given payload and version.
Issues a new cursor token with the given payload and version.
Value parameters
- payload
-
the cursor payload bytes
- version
-
the version byte (default: CurrentVersion)
Attributes
- Returns
-
the assembled cursor token
- Source
- GossipCursorModel.scala
Issues a cursor token, throwing on invalid version values.
Issues a cursor token, throwing on invalid version values.
Attributes
- Source
- GossipCursorModel.scala
Concrete fields
The current cursor token wire format version.
Givens
Givens
Attributes
- Source
- GossipCursorModel.scala
Extensions
Extensions
extension (token: CursorToken)
Attributes
- Source
- GossipCursorModel.scala
Attributes
- Source
- GossipCursorModel.scala
Attributes
- Source
- GossipCursorModel.scala
Attributes
- Source
- GossipCursorModel.scala
Attributes
- Source
- GossipCursorModel.scala
In this article