Пример #1
0
		public void readArchiveFileHeader()
		{
			ByteBuffer pMByteBuffer = new ByteBuffer();

            if (m_pArchiveHeader.readArchiveFileHeader(m_fs, pMByteBuffer))		// 检查 magic
			{
				FileHeader pFileHeader;
				for (uint idx = 0; idx < m_pArchiveHeader.m_fileCount; ++idx)
				{
					pFileHeader = new FileHeader();
					m_pFileVec.Add(pFileHeader);
					pFileHeader.readHeaderFromArchiveFile(pMByteBuffer);
				}
			}
		}
Пример #2
0
		public void readArchiveFile2Bytes(FileHeader fileHeader, ref byte[] bytes)
		{
            fileHeader.readArchiveFile2Bytes(m_fs, ref bytes);
		}