package
2.2.2+incompatible
Repository: https://github.com/yiuterran/leaf.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Returns two-bytes array with uint16 value in BCD format If value > 9999, function returns value for last two digits of source value (Example: uint8(12345) = []byte{0x23, 0x45}).
Returns four-bytes array with uint32 value in BCD format If value > 99999999, function returns value for last two digits of source value (Example: uint8(1234567890) = []byte{0x23, 0x45, 0x67, 0x89}).
Returns eight-bytes array with uint64 value in BCD format If value > 9999999999999999, function returns value for last two digits of source value (Example: uint8(12233445566778899) = []byte{0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99}).
Returns uint8 value in BCD format.
Return uint16 value converted from at most last two bytes of bcd bytes array.
Return uint32 value converted from at most last four bytes of bcd bytes array.
Return uint64 value converted from at most last eight bytes of bcd bytes array.
Returns uint8 value converted from bcd byte.