tcmpr.algorithms.utils package¶
Submodules¶
tcmpr.algorithms.utils.tools module¶
-
tcmpr.algorithms.utils.tools.convert_bytes_to_bit_str(byte_array)[source]¶ Convert bytes to bits string for decoding purpose
-
tcmpr.algorithms.utils.tools.get_byte_array(padded_encoded_string)[source]¶ Convert padded encoded string into bytes
-
tcmpr.algorithms.utils.tools.get_codes_from_binary_tree(root)[source]¶ Return code for each char in input data (original)
-
tcmpr.algorithms.utils.tools.get_decoded_str(root, encoded_string)[source]¶ Decode encoded string and return it
-
tcmpr.algorithms.utils.tools.get_encoded_str(root, data)[source]¶ Change data to encoded string and return it