class documentation
Converter for 2-digit binary-coded decimal with a single extra nibble
A single byte contains two decimal digits as if they were hex digits. The extraneous nibble appears in the rightmost byte, right-padded with a single hex digit.
Class Method | get |
Converts bytes -> int from 2-digit binary coded decimal with an extra nibble on the right |
Class Method | set |
Converts int -> bytes as 2-digit binary coded decimal with an extra nibble on the right |