File: sys\System\IO\compression\FileFormats.cs
Project: ndp\fx\src\System.csproj (System)
namespace System.IO.Compression
{
    interface IFileFormatWriter {
        byte[] GetHeader();
        void UpdateWithBytesRead(byte[] buffer, int offset, int bytesToCopy);
        byte[] GetFooter();
    }
 
    interface IFileFormatReader {
        bool ReadHeader(InputBuffer input);
        bool ReadFooter(InputBuffer input);
        void UpdateWithBytesRead(byte[] buffer, int offset, int bytesToCopy);
        void Validate();
    }
 
}