module BSON::Specialized::ClassMethods

Public Instance Methods

from_bson(buffer) click to toggle source

Deserialize from BSON.

@param [ ByteBuffer ] buffer The byte buffer.

@return [ Specialized ] The decoded specialized class.

@see bsonspec.org/#/specification

@since 2.0.0

# File lib/bson/specialized.rb, line 69
def from_bson(buffer)
  new
end