Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Strings in binary file

$
0
0
Hi
I have a binary file, which contains strings separated by 0x00 character. I want to export them, but the only i can make is this:
[ autoit ]      
$C = "" $Str = "" $P = 1 Do $Str &= BinaryToString($C) $C = Binarymid ($Binaryfile, $P, 1) $P += 1 Until $C = 0

But it is too slow. Is there any better way, to read the whole string til the 00 char?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>