bit/casting.fjΒΆ
βββ- String:
MacrosΒΆ
bitΒΆ
bit.strβ create a bit-vector, initialized with the value of βstrβ, and with the number of bytes needed to store βstrβ, plus 1.bit.bin2asciiβ Complexity 9@-7bit.dec2asciiβ Complexity 12@-10bit.hex2asciiβ ascii := the ascii representation of the value of hex (digits & capital-letters).bit.ascii2binβ if ascii is β0β/β1β, set bit to 0/1 (end error=0). else, set error=1.bit.ascii2decβ if ascii is β0β-β9β, set dec to that decimal digit value (end error=0). else, set error=1.bit.ascii2hexβ if ascii is β0β-β9β/βaβ-βfβ/βAβ-βFβ, set hex to that hexadecimal digit value (end error=0). else, set error=1.