Enumerations | |
enum | ZipPlatforms { zcDosFat, zcAmiga, zcVaxVms, zcUnix, zcVmCms, zcAtari, zcOs2Hpfs, zcMacintosh, zcZsystem, zcCpm, zcNtfs } |
The codes of the compatibility of the file attribute information. More... | |
Functions | |
bool | IsPlatformSupported (int iCode) |
Check whether the system with the given code is supported by the ZipArchive library. | |
DWORD | ConvertToSystem (DWORD uAttr, int iFromSystem, int iToSystem) |
Convert the system attributes between different system platforms. | |
void | FileNameUpdate (CZipFileHeader &header, bool bFromZip, bool bOemConversion) |
Convert the filename of the file inside archive. | |
void | SlashBackslashChg (CZipAutoBuffer &buffer, bool bReplaceSlash) |
Change the slash to backslash or vice-versa in buffer. | |
bool | IsBigEndian () |
Determine whether the current machine had a big- or little-endian architecture. | |
void | ReadBytesBigEndian (void *pDestination, const char *pSource, int iCount) |
Read iCount bytes from pSource into pDestination. | |
void | ReadBytesLittleEndian (void *pDestination, const char *pSource, int iCount) |
Read iCount bytes from pSource into pDestination. | |
void | WriteBytesBigEndian (char *pDestination, const void *pSource, int iCount) |
Write iCount bytes from pSource into pDestination. | |
void | WriteBytesLittleEndian (char *pDestination, const void *pSource, int iCount) |
Write iCount bytes from pSource into pDestination. | |
bool | CompareBytesBigEndian (const char *pBuffer, const void *pBytes, int iCount) |
Compare iCount bytes. | |
bool | CompareBytesLittleEndian (const char *pBuffer, const void *pBytes, int iCount) |
Compare iCount bytes. |
|
The codes of the compatibility of the file attribute information.
Definition at line 47 of file ZipCompatibility.h. |
|
Compare iCount bytes.
Referenced by CZipArchive::CompareBytes(). |
|
Compare iCount bytes.
Referenced by CZipArchive::CompareBytes(). |
|
Convert the system attributes between different system platforms. It calls one of the converting functions.
|
|
Convert the filename of the file inside archive. This conversion may not change the size of the filename, otherwise an error may occur in CZipFileHeader::ReadLocal while comparing the filename sizes.
Referenced by CZipCentralDir::ConvertFileName(). |
|
Check whether the system with the given code is supported by the ZipArchive library.
|
|
Read iCount bytes from pSource into pDestination.
Referenced by CZipArchive::ReadBytes(). |
|
Read iCount bytes from pSource into pDestination.
Referenced by CZipArchive::ReadBytes(). |
|
Change the slash to backslash or vice-versa in buffer.
|
|
Write iCount bytes from pSource into pDestination.
Referenced by CZipArchive::WriteBytes(). |
|
Write iCount bytes from pSource into pDestination.
Referenced by CZipArchive::WriteBytes(). |