StateRef

org.sigilaris.core.application.scheduling.StateRef$package.StateRef
object StateRef

Companion for StateRef, providing construction and extensions.

Attributes

Source
StateRef.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
StateRef.type

Members list

Value members

Concrete methods

def fromBytes(bytes: ByteVector): StateRef

Creates a StateRef from raw bytes.

Creates a StateRef from raw bytes.

Value parameters

bytes

the raw byte representation

Attributes

Returns

a new StateRef

Source
StateRef.scala
def tableKey(tablePrefix: ByteVector, encodedKey: ByteVector): StateRef

Creates a StateRef from a table prefix and an encoded key.

Creates a StateRef from a table prefix and an encoded key.

Value parameters

encodedKey

the encoded key bytes

tablePrefix

the table's byte prefix

Attributes

Returns

a StateRef representing this specific table entry

Source
StateRef.scala

Extensions

Extensions

extension (stateRef: StateRef)
def bytes: ByteVector

Access the underlying raw bytes.

Access the underlying raw bytes.

Attributes

Returns

the byte vector

Source
StateRef.scala
def toHexLower: String

Returns a lowercase hexadecimal string representation.

Returns a lowercase hexadecimal string representation.

Attributes

Returns

hex string

Source
StateRef.scala