Deserialize a string from BSON.
@param [ BSON ] bson The bson representing a string.
@return [ Regexp ] The decoded string.
@see bsonspec.org/#/specification
@since 2.0.0
# File lib/bson/string.rb, line 178 def from_bson(bson) bson.read(Int32.from_bson(bson)).from_bson_string.chop! end
Generated with the Darkfish Rdoc Generator 2.