erl_bits

DATA TYPES

size() = all | unknown | non_neg_integer() | tuple()

XXX: REFINE

type() = bytes | bitstring | bits | bt_type() | bt_endian() | bt_sign() | {unit, undefined | bt_unit()}

Functions


system_bitdefault() -> no_system_bitdefault

system_bittypes() -> no_system_types

as_list(Bittype::#bittype{}) -> [bt_endian() | bt_sign() | bt_type() | {unit, undefined | bt_unit()}]

set_bit_type(Size::default | size(), TypeList::default | [type()]) -> {ok, undefined | size(), #bittype{}} | {error, {undefined_bittype, term()}} | {error, {bittype_mismatch, term(), term(), string()}}

View Functions