jiface.erlang.bitstr

->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.

ErlangBitstr

protocol

members

get-binary-value

(get-binary-value this)

Get the byte array from a bitstr, padded with zero bits in the little end of the last byte.

get-object

(get-object this)

Get the java Object from the bitstr.

get-size

(get-size this)

Get the size in whole bytes of the bitstr, rest bits in the last byte not counted.

pad-bits

(pad-bits this)

Get the number of pad bits in the last byte of the bitstr.

hash

(hash this)

Get the object hash code.

match

(match this term binds)

Perform match operation against given term.