# File lib/bson/byte_buffer.rb, line 197
    def ==(other)
      other.respond_to?(:to_s) && @str == other.to_s
    end