Bcd (bcd v0.1.0) View Source

Documentation for Bcd.

Link to this section Summary

Functions

Deocodes a given bitstring in BCD notation to an integer

Encodes a given integer in BCD encoding

Link to this section Functions

Specs

decode(bitstring()) :: integer()

Deocodes a given bitstring in BCD notation to an integer

Specs

encode(integer()) :: bitstring()

Encodes a given integer in BCD encoding