implement PrimitiveType to PrimitiveType conversion method library (e.g. UInt8 to UInt and NSObject)