Eterl class final

Eterl encoder and decoder.

Implemented types

Properties

decoder Converter<List<int>, Object?>
Returns the decoder of this, converting from T to S.
no setteroverride
encoder Converter<Object?, List<int>>
Returns the encoder from S to T.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
inverted Codec<List<int>, Object?>
Inverts this.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(List<int> toDecode) Object?
Decodes encoded data.
override
encode(Object? toEncode) List<int>
Encodes input.
override
fuse<R>(Codec<Object?, R> other) Codec<List<int>, R>
Fuses this with other.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pack<T extends Object?>(T toEncode, [int defaultBufferSize = Encoder.defaultBufferSize]) Uint8List
Pack a Dart object into the Erlang External Term Format. The encoded data is then returned as a Uint8List.
packer() Converter<Object?, List<int>>
Returns a converter that can be used to encode data to Erlang.
toString() String
A string representation of this object.
inherited
unpack<T extends Object?>(List<int> toDecode) → T
Unpack encoded data from the Erlang External Term Format into a Dart object.
unpacker<T extends Object?>() Converter<List<int>, T>
Returns a converter that can be used to decode data from Erlang.

Operators

operator ==(Object other) bool
The equality operator.
inherited