def get(byte, field = nil)
      if type = MAPPINGS[byte] || (byte.is_a?(String) && type = MAPPINGS[byte.ord])
        type
      else
        handle_unsupported_type!(byte, field)
      end
    end
def get(byte, field = nil)
      if type = MAPPINGS[byte] || (byte.is_a?(String) && type = MAPPINGS[byte.ord])
        type
      else
        handle_unsupported_type!(byte, field)
      end
    end
Get the class for the single byte identifier for the type in the BSON
 specification.

 @example Get the type for the byte.
   BSON::Registry.get("\x01")

 @return [ Class ] The corresponding Ruby class for the type.

 @see http://bsonspec.org/#/specification

 @since 2.0.0