@staticmethod
    def cf_data_from_bytes(bytes_):

        return CoreFoundation.CFDataCreate(
            CoreFoundation.kCFAllocatorDefault,
            bytes_,
            len(bytes_)
        )
Creates a CFDataRef object from a byte string
dataset/ETHPy150Open wbond/oscrypto/oscrypto/_osx/_core_foundation_cffi.py/CFHelpers.cf_data_from_bytes