MessageCodecMeta

automorph.spi.codec.MessageCodecMeta

Structured message format codec code generation.

Type parameters

Node

message codec node representation type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait MessageCodec[Node]

Members list

Value members

Abstract methods

inline def decode[T](node: Node): T

Decodes a value from a message codec node.

Decodes a value from a message codec node.

Type parameters

T

value type

Value parameters

node

message codec node

Attributes

Returns

value of the specified type

inline def encode[T](value: T): Node

Encodes a value as a message codec node.

Encodes a value as a message codec node.

Type parameters

T

value type

Value parameters

value

value of given type

Attributes

Returns

message codec node