TopicWindowKey
org.sigilaris.node.gossip.GossipCursorModel$package.TopicWindowKey
object TopicWindowKey
Companion for TopicWindowKey providing parsing and construction.
Attributes
- Source
- GossipCursorModel.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TopicWindowKey.type
Members list
Value members
Concrete methods
Creates a topic window key from raw bytes.
Creates a topic window key from raw bytes.
Value parameters
- bytes
-
the byte content
Attributes
- Returns
-
the key, or an error if empty
- Source
- GossipCursorModel.scala
Parses a hex-encoded topic window key.
Parses a hex-encoded topic window key.
Value parameters
- value
-
the hex string
Attributes
- Returns
-
the key, or an error message
- Source
- GossipCursorModel.scala
Creates a topic window key from raw bytes, throwing on invalid input.
Creates a topic window key from raw bytes, throwing on invalid input.
Value parameters
- bytes
-
the byte content
Attributes
- Returns
-
the key
- Throws
-
IllegalArgumentException
if the bytes are empty
- Source
- GossipCursorModel.scala
Parses a hex-encoded topic window key, throwing on invalid input.
Parses a hex-encoded topic window key, throwing on invalid input.
Value parameters
- value
-
the hex string
Attributes
- Returns
-
the key
- Throws
-
IllegalArgumentException
if the hex is invalid or empty
- Source
- GossipCursorModel.scala
Givens
Givens
Attributes
- Source
- GossipCursorModel.scala
Extensions
Extensions
extension (windowKey: TopicWindowKey)
Attributes
- Source
- GossipCursorModel.scala
Attributes
- Source
- GossipCursorModel.scala
In this article