View Source Modbux.Helper (Modbux v0.3.11)
Binary helper module
Summary
Functions
@spec bin_to_reglist(pos_integer(), <<_::16, _::_*8>>) :: [char(), ...]
@spec bool_to_byte(0 | 1) :: 0 | 255
@spec crc(binary()) :: <<_::16>>
Binary helper module
@spec bin_to_reglist(pos_integer(), <<_::16, _::_*8>>) :: [char(), ...]
@spec bool_to_byte(0 | 1) :: 0 | 255
@spec crc(binary()) :: <<_::16>>