I need to write some message into the aztec bar code which contains from encrypted data, compressed data and some characters. Since the encoding of encrypted and compressed data could be messed when encoding it to ascii, because barcode writter needs string as an input parameter.
My question is : how can I write plain byte array to bar code?
I am using Zxing for generating bar codes in C#.
I recommend you use Base64 encoding. It's a way of encoding binary data of arbitrary length.