how to bitwise negate a binary file?

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Wed Sep 7 18:23:53 EDT 2011


Hi,

i have here some binary files, which were negated bitwise. How can i "convert" them back?
Is there a livecode function i can use?

Or do i have to 
convert the binary file to hex, 
convert each byte to decimal,
convert each "decimal"byte value  with "bitNot",
reconvert to hex and then convert to binary again?

Any ideas?

Regards,

Matthias



More information about the Use-livecode mailing list