Skip to content

ErlangTermEncoder

[Source]

Writes a term into an EMessage.

The functions are partial: an encoding can fail when the message cannot grow or when a value cannot be represented in the external format.

primitive val ErlangTermEncoder

Constructors

create

[Source]

new val create()
: ErlangTermEncoder val^

Returns


Public Functions

encode

[Source]

fun box encode(
  message: EMessage ref,
  term: ErlangTerm)
: None val ?

Parameters

Returns


eq

[Source]

fun box eq(
  that: ErlangTermEncoder val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: ErlangTermEncoder val)
: Bool val

Parameters

Returns