class Ai4cr::Utils::IoData::TextFileIodBits
Defined in:
ai4cr/utils/io_data/text_file_io_bits.crConstant Summary
-
BIT_32_INDEXES =
(0..31).to_a
-
TODO Dig more into 'spec_bench/ai4cr/io_data/text_file_spec.cr' and adjust this file accordingly.
-
UTF_MAX_AS_FLOAT =
Char::MAX_CODEPOINT.to_f
Class Method Summary
- .bit_index_size(default_to_bit_size = BIT_32_INDEXES.size)
- .bits_to_char(bits, default_to_bit_size = BIT_32_INDEXES.size)
- .bytes_to_chars(bytes, default_to_bit_size = BIT_32_INDEXES.size)
- .char_to_bits(char, default_to_bit_size = BIT_32_INDEXES.size)
- .convert_iod_to_raw(iod, default_to_bit_size = BIT_32_INDEXES.size)
- .convert_raw_to_iod(raw, default_to_bit_size = BIT_32_INDEXES.size)