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 leftmost byte, left-padded with a single hex digit.
Class Method | get |
Converts bytes -> int from 2-digit binary coded decimal with an extra nibble on the left |
Class Method | set |
Converts int -> bytes as 2-digit binary coded decimal with an extra nibble on the left |