Finding a zero byte in a binary file
Posted: Tue Oct 14, 2003 8:57 pm
This is more of a bug report than feature request.
It seems that the find dialog doesn't quite work when used with a binary file. If you open a binary file, select Search | Find, and select Hex, the find feature will only work for non-zero bytes. For example, searching for "4F28" will find those bytes if they exist, but searching for "440023" will match the first occurrence of "44", ignoring the "0023".
TextPad is probably treating the 00 as a null terminator, but I need to search for strings of bytes with "00" in them. Is there another way to do this?
Thanks,
..Dustin
It seems that the find dialog doesn't quite work when used with a binary file. If you open a binary file, select Search | Find, and select Hex, the find feature will only work for non-zero bytes. For example, searching for "4F28" will find those bytes if they exist, but searching for "440023" will match the first occurrence of "44", ignoring the "0023".
TextPad is probably treating the 00 as a null terminator, but I need to search for strings of bytes with "00" in them. Is there another way to do this?
Thanks,
..Dustin