Skip to content
Advertisement

Tag: binary-data

Java Base64 encoding loss of data

say I have the following snippet, where certificate is a java Certificate object: Is there any chance data will not be equal to newData? basically, is there loss of information to string and then back? Thanks Answer Assuming nothing explodes due to out-of-memory errors or similar general problems, this code should be fine, with one big exception: You are transforming

Store Binary Data in QR Code (ZXING Java Library)

My Java program needs to send a binary payload via QR Code, but I can’t get it to work. I have tried several QR Code libraries and many approaches, but all seem to have this problem. My current implementation uses ZXING. The problem is that all the Java libraries I’ve tried seem to be focused on String payloads, and do

Advertisement