Does the header include a record size?
On Mar 7, 2012 5:32 AM, "manoj mokashi" <[email protected]> wrote:

> Sorry for always replying to the main thread,
> i have not subscribed to the list, so my "in-reply-to" headers are not
> correct.
>
> its more like a circular array i guess.
> i needed to parse a binary file and look for 512 byte headers.
> so i keep storing each byte in a 512 byte circular array and here i
> have the last 512 bytes read,
> which i check under certain conditions against the header pattern.
> to match against the header pattern i would need to see if header[1] != 0
> etc.
> hence the requirement for an efficient getLast( offset) method.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to