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)
def getExtendedFileInfo(efi_binary): vec = unpack_from(">IIHhi", efi_binary) return ss.ExtendedFileInfo(*vec)