BCD code/encoder Library (Packed. Big endian. No sign bit)
Sample:
BCD (ASCII) input data: "25fbde9a9"
Output to BCD (5 bytes): 0x25 0xFB 0xDE 0x9A 0x90
(filled the last nibble)
or
BCD (binary) input data (5 bytes): 0x25 0xFB 0xDE 0x9A 0x90
Dump from BCD (10 bytes): "25fbde9a90"