Re: [Tutor] Search for hex data in file

2009-05-25 Thread Walker Hale IV
On Mon, May 25, 2009 at 1:32 AM, xbmuncher wrote: > I've been reading about ways to convert strings and what not to hex and back > and forth. I'm looking for the fastest and least memory intensive way to > search through a file for a hex value and gets its byte offset in the file. > This hex value

Re: [Tutor] Search for hex data in file

2009-05-25 Thread Kent Johnson
On Mon, May 25, 2009 at 2:32 AM, xbmuncher wrote: > I've been reading about ways to convert strings and what not to hex and back > and forth. I'm looking for the fastest and least memory intensive way to > search through a file for a hex value and gets its byte offset in the file. > This hex value

Re: [Tutor] Search for hex data in file

2009-05-25 Thread Alan Gauld
"xbmuncher" wrote search through a file for a hex value and gets its byte offset in the file. This hex value (that I'm looking for in the file) is of course a hex representation of the binary data and its 8 bytes long. Can you give an example of your input data and what you expect the retur

[Tutor] Search for hex data in file

2009-05-24 Thread xbmuncher
I've been reading about ways to convert strings and what not to hex and back and forth. I'm looking for the fastest and least memory intensive way to search through a file for a hex value and gets its byte offset in the file. This hex value (that I'm looking for in the file) is of course a hex repr