# File lib/bson/bson_c.rb, line 23 def self.deserialize(buf=nil) CBson.deserialize(ByteBuffer.new(buf).to_s) end
# File lib/bson/bson_c.rb, line 27 def self.max_bson_size warn "BSON::BSON_CODER.max_bson_size is deprecated and will be removed in v2.0." CBson.max_bson_size end
# File lib/bson/bson_c.rb, line 19 def self.serialize(obj, check_keys=false, move_id=false, max_bson_size=DEFAULT_MAX_BSON_SIZE) ByteBuffer.new(CBson.serialize(obj, check_keys, move_id, max_bson_size)) end
Generated with the Darkfish Rdoc Generator 2.