class BinData::IO::Read

def with_buffer(n)

calls inside the +block+ will be contained within this buffer.
Sets a buffer of +n+ bytes on the io stream. Any reading or seeking
def with_buffer(n)
  with_buffer_common(n) do
    yield
    read
  end
end