When converting the hexadecimal value, a PDF file, the file is corrupted. This is the partial hex content of a simple pdf file I want to convert: Full string: jsfiddle, pastebin This question is a continuation of this question, where I said that I have to do a data migration between two programs that handle files differently. The source program
Tag: decoding
How to decode a specific byte string of varints in PHP
I’m trying to decode a string in a specific format (Hearthstone deck code), using PHP, like this: AAEBAc2xAgjAAe0E7QX3DdYRh6wC8fsCoIADC8kDqwTLBPsMhRDH0wKW6AK0/ALNiQPXiQOfmwMA or …