# File lib/bson/bson_ruby.rb, line 35
    def initialize(max_bson_size=DEFAULT_MAX_BSON_SIZE)
      @buf = ByteBuffer.new('', max_bson_size)
      @encoder = BSON_RUBY
    end