# File lib/bson/bson_c.rb, line 23 def self.deserialize(buf=nil, opts={}) CBson.deserialize(ByteBuffer.new(buf).to_s, opts) end