class PDF::Reader::Buffer
def prepare_tokens
attempt to prime the buffer with the next few tokens.
def prepare_tokens 10.times do case state when :literal_string then prepare_literal_token when :hex_string then prepare_hex_token when :regular then prepare_regular_token when :inline then prepare_inline_token end end save_pos end