bits_encode
str = bits_encode(val);
ret = bits_encode(in);
s = bits_encode(bits);
string_t *bits_encode(const bits_t *);