jiface.erlang.string

->str

(->str this)

Convert to a string.

behaviour

bind

(bind this binds)

Make new Erlang term replacing variables with the respective values from bindings argument(s).

clone

(clone this)

Clone the Erlang object.

decode

(decode this buff)

Read binary data in the Erlang external format, and produce a corresponding Erlang data type object.

encode

(encode this buff)

Convert the object according to the rules of the Erlang external format.

equal?

(equal? this other-erl-obj)

Determine if two Erlang objects are equal.

ErlangString

protocol

members

->code-points

(->code-points this str)

Create Unicode code points from a String.

get-value

(get-value this)

Get the actual string contained in this object.

new

(new this bytes)

Construct a String from a Latin-1 (ISO-8859-1) encoded byte array, if Latin-1 is available, otherwise use the default encoding.

valid-code-point?

(valid-code-point? this code-point)

Validate a code point according to Erlang definition; Unicode 3.0.

hash

(hash this)

Get the object hash code.

match

(match this term binds)

Perform match operation against given term.