Hi all
Newbie... trying to convert phonenumber to a fixed lenght of bytes.
Example: 30172985 phonenumber is 8 byte. But my hardware wants 32 byte size.
How do I automaticly insert 0x00 from 8 byte and upwards to 32?
My hardware expects to see this:
333031373239383 500000000000000 000000000000000 000000000000000 0000
Phonenumber is off course not a fixed value :-)
Newbie... trying to convert phonenumber to a fixed lenght of bytes.
Example: 30172985 phonenumber is 8 byte. But my hardware wants 32 byte size.
How do I automaticly insert 0x00 from 8 byte and upwards to 32?
My hardware expects to see this:
333031373239383 500000000000000 000000000000000 000000000000000 0000
Phonenumber is off course not a fixed value :-)
Comment