please, is there any way how to use "byte array" as barcode data?
Both BarcodePDF417Write method overloads expect "string" as data.
I would like to encode raw byte data -> should be possible with PDF 417 (with use of BarcodePDF417EncodingMode.BarcodePDF417EncodingModeByte), correct?
Any idea how to do that without base64 encoding?
Just pass the byte array as string using the correct encoding:
Code: Select all
string myString = Encoding.GetEncoding(1252).GetBytes(data);
are you sure it will work?
I mean byte array can contain whatever byte sequence (imagine byte from ZIP stream)
I'm afraid that some specific encoding could destroy the data.
What do you think?
Who is online
Users browsing this forum: No registered users and 1 guest