init(rawValue:)

Converts the given type code to a variant type. This function will canonicalize deprecated type codes that have an isomorphic modern equivalent, but it will never change the pointer and javascriptScope types, because they do not have modern equivalents.

BSON.AnyType.swift:53
init?(rawValue: UInt8)