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