PathEncoder

org.sigilaris.core.application.support.encoding.PathEncoder
See thePathEncoder companion object
trait PathEncoder[Path <: Tuple]

Typeclass for encoding paths at runtime.

This allows encoding paths when the path type is known at compile time but we need to compute the bytes at runtime (e.g., in typeclass derivation).

Type parameters

Path

the path tuple type

Attributes

Companion
object
Source
PathEncoding.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object empty

Members list

Value members

Abstract methods

def encode: ByteVector

Encode the path to bytes.

Encode the path to bytes.

Attributes

Returns

the encoded path bytes

Source
PathEncoding.scala