<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 7, 2016 at 5:41 PM, Jason Overland <span dir="ltr"><<a href="mailto:joverland@lizardtech.com" target="_blank">joverland@lizardtech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrew,<br>
A quick follow up on this.  For now I made 3 methods on BpfReader public - ready, processOne, and done.  This allowed me to read a point at a time by calling processOne multiple times.  I also tried using read() to read a chunk at a time instead of processOne() but that ended up being a little bit slower (I thought it would be faster due to less seeks) and involved a little more trickery with setting up the PointTable.  Of course I'd prefer not willy nilly making private methods public as a long term strategy, but as a quick and dirty solution it seems to get things working for us.<span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><br>Your solution seems reasonable for now.  Maybe we'll get a chance to formalize such an interface at some point in the not-too-distant future.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for your thoughts,</div><div class="gmail_extra"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</div></div>