eoio.serialisation.codecs.AttrCodec

eoio.serialisation.codecs.AttrCodec#

class eoio.serialisation.codecs.AttrCodec(*args, **kwargs)[source]#

Protocol implemented by attribute codecs.

__init__(*args, **kwargs)#

Methods

__init__

applies

Report whether this codec handles value.

decode

Reverse encode().

encode

Convert value to a serialisation-safe representation.

Attributes

name

Stable identifier recorded in the encoding marker.