Avatar

Level 4

binary data passed in a xml is encoded in base64 but i dont think thats your problem.  If it is, then you need to convert it back to binary.

I dont know c#, but i did find this..

Syste.Convert.ToBase64String(toEncodeAsBtytes)

System.Convert.FromBase64String(encodedData)

I think your problem is that you dont know how the data was compressed in the barcode.  In otherwords, if you created the pdf form in designer and checked the compress data parameter then the LC Barcode.Decode will be able to decompress it.  If some other program compressed it, LC Barcode.Decode isn't going to know what compression algorithm was used to compress it, so it wont be able to decompress it.