class PDF::Reader::XRef
def new_buffer(offset = 0)
at the same time without worrying about clearing the buffers contents.
We create multiple buffers so we can be tokenising multiple sections of the file
Wrap the io stream we're working with in a buffer that can tokenise it for us.
###############################################################################
def new_buffer(offset = 0) PDF::Reader::Buffer.new(@io, :seek => offset) end