# File lib/bson/byte_buffer.rb, line 208 def get_int check_read_length(4) vals = @str[@cursor..@cursor+3] @cursor += 4 vals.unpack(@int_pack_order)[0] end