Coder (coder v0.1.1)
A module to encode raw bitstring into standard data_type (look at data_types.txt)
Link to this section Summary
Functions
Encodes a binary raw_data
according to "data_type" specification.
Encodes a raw bitstring to the corresponding data_type in data_type_list
list.
Encodes a raw_list
of bitstrings (in which each elements has n_bits
) to the corresponding
data_type in data_type_list
list.
Link to this section Functions
Link to this function
binary_to_list(arg, acc)
Link to this function
change_bytes_order(swap_type, binary)
Link to this function
change_bytes_string_order(swap_type_list, binary)
Link to this function
decode(binary, raw_data)
Link to this function
encode(data_type, raw_data)
Encodes a binary raw_data
according to "data_type" specification.
Link to this function
encode_all(arg1, values, acc)
Encodes a raw bitstring to the corresponding data_type in data_type_list
list.
Link to this function
encode_list(data_type_list, raw_list, n_bits)
Encodes a raw_list
of bitstrings (in which each elements has n_bits
) to the corresponding
data_type in data_type_list
list.
Link to this function
list_to_binary(raw_list, n_bytes, acc)
Link to this function