Did I find the right examples for you? yes no

All Samples(108)  |  Call(106)  |  Derive(0)  |  Import(2)
Wrapper for binary data.

src/p/y/pymobiledevice-HEAD/lockdown.py   pymobiledevice(Download)
        certPem, privateKeyPem, DeviceCertificate = ca_do_everything(self.DevicePublicKey)
 
        pair_record = {"DevicePublicKey": plistlib.Data(self.DevicePublicKey),
                       "DeviceCertificate": plistlib.Data(DeviceCertificate),
                       "HostCertificate": plistlib.Data(certPem),
                       "HostID": self.hostID,
                       "RootCertificate": plistlib.Data(certPem),
        if Pair and  Pair.get("Result") == "Success" or Pair.has_key("EscrowBag"):
            #print "Pairing OK"
            pair_record["HostPrivateKey"] = plistlib.Data(privateKeyPem)
            if Pair.has_key("EscrowBag"):
                pair_record["EscrowBag"] = Pair["EscrowBag"]

src/a/l/AlfredWorkflow.com-HEAD/Sources/Workflows/YNAB-budget-check/alp/core_dependencies/biplist/__init__.py   AlfredWorkflow.com(Download)
def wrapDataObject(o, for_binary=False):
    if isinstance(o, Data) and not for_binary:
        o = plistlib.Data(o)
    elif isinstance(o, plistlib.Data) and for_binary:
        o = Data(o.data)

src/a/l/AlfredWorkflow.com-HEAD/Sources/Workflows/SearchKippt/alp/core_dependencies/biplist/__init__.py   AlfredWorkflow.com(Download)
def wrapDataObject(o, for_binary=False):
    if isinstance(o, Data) and not for_binary:
        o = plistlib.Data(o)
    elif isinstance(o, plistlib.Data) and for_binary:
        o = Data(o.data)

src/a/l/AlfredWorkflow.com-HEAD/Sources/Workflows/nuomituangou/alp/core_dependencies/biplist/__init__.py   AlfredWorkflow.com(Download)
def wrapDataObject(o, for_binary=False):
    if isinstance(o, Data) and not for_binary:
        o = plistlib.Data(o)
    elif isinstance(o, plistlib.Data) and for_binary:
        o = Data(o.data)

src/w/o/Workflows-HEAD/Yourls Stats/alp/core_dependencies/biplist/__init__.py   Workflows(Download)
def wrapDataObject(o, for_binary=False):
    if isinstance(o, Data) and not for_binary:
        o = plistlib.Data(o)
    elif isinstance(o, plistlib.Data) and for_binary:
        o = Data(o.data)

src/w/o/Workflows-HEAD/Downer/alp/core_dependencies/biplist/__init__.py   Workflows(Download)
def wrapDataObject(o, for_binary=False):
    if isinstance(o, Data) and not for_binary:
        o = plistlib.Data(o)
    elif isinstance(o, plistlib.Data) and for_binary:
        o = Data(o.data)

src/w/o/Workflows-HEAD/Create New File/alp/core_dependencies/biplist/__init__.py   Workflows(Download)
def wrapDataObject(o, for_binary=False):
    if isinstance(o, Data) and not for_binary:
        o = plistlib.Data(o)
    elif isinstance(o, plistlib.Data) and for_binary:
        o = Data(o.data)

src/w/o/Workflows-HEAD/alp/alp/core_dependencies/biplist/__init__.py   Workflows(Download)
def wrapDataObject(o, for_binary=False):
    if isinstance(o, Data) and not for_binary:
        o = plistlib.Data(o)
    elif isinstance(o, plistlib.Data) and for_binary:
        o = Data(o.data)

src/w/o/Workflows-HEAD/Alleyoop 3/alp/core_dependencies/biplist/__init__.py   Workflows(Download)
def wrapDataObject(o, for_binary=False):
    if isinstance(o, Data) and not for_binary:
        o = plistlib.Data(o)
    elif isinstance(o, plistlib.Data) and for_binary:
        o = Data(o.data)

src/c/o/CouchPotato-Alfred-HEAD/source/alp/core_dependencies/biplist/__init__.py   CouchPotato-Alfred(Download)
def wrapDataObject(o, for_binary=False):
    if isinstance(o, Data) and not for_binary:
        o = plistlib.Data(o)
    elif isinstance(o, plistlib.Data) and for_binary:
        o = Data(o.data)

  1 | 2 | 3 | 4 | 5 | 6  Next