Tezos_raw_protocol_014_PtKathma.Bitsetval encoding : t Tezos_protocol_environment_014_PtKathma.Data_encoding.tval empty : tA bitset encoding the empty set.
val mem :
t ->
int ->
bool Tezos_protocol_environment_014_PtKathma.Error_monad.tzresultmem field i returns true iff i has been added in field.
This functions returns Invalid_input i if i is negative.
val add :
t ->
int ->
t Tezos_protocol_environment_014_PtKathma.Error_monad.tzresultadd field i returns a new bitset which contains i in addition to the previous integers of field.
This functions returns Invalid_input i if i is negative.
val occupied_size_in_bits : t -> intoccupied_size_in_bits bitset returns the current number of bits occupied by the bitset.