Exemplo n.º 1
0
def getExtendedFileInfo(efi_binary):
    res1 = unpack_from(">hhhh", efi_binary)
    vec = list(unpack_from(">Hhi", efi_binary, 8))
    vec.insert(0, res1)
    return ss.ExtendedFileInfo(*vec)
Exemplo n.º 2
0
def getExtendedFileInfo(efi_binary):
    vec = unpack_from(">IIHhi", efi_binary)
    return ss.ExtendedFileInfo(*vec)