commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <jcar...@carmanconsulting.com>
Subject Re: [Collections] Circular Buffer
Date Wed, 07 Mar 2012 11:44:06 GMT
Does the header include a record size?
On Mar 7, 2012 5:32 AM, "manoj mokashi" <manojmokashi@gmail.com> 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: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message