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