Converts an IMEI decimal string into an 8-byte BCD (Binary-Coded Decimal) buffer using low-nibble-first digit order.
Each byte encodes two decimal digits:
If the IMEI has an odd number of digits, it is left-padded with '0' to produce an even number of digits.
'0'
Example: "868373071752218" → <Buffer 08 68 37 30 71 75 22 18>
IMEI as a numeric string (digits only).
A Buffer containing the BCD-encoded IMEI.
If the input contains non-digit characters.
Converts an IMEI decimal string into an 8-byte BCD (Binary-Coded Decimal) buffer using low-nibble-first digit order.
Each byte encodes two decimal digits:
If the IMEI has an odd number of digits, it is left-padded with
'0'to produce an even number of digits.Example: "868373071752218" → <Buffer 08 68 37 30 71 75 22 18>