using System; namespace SabreTools.Compression.libmspack.OAB { /// /// A compressor for the Offline Address Book (OAB) format. /// /// All fields are READ ONLY. /// public class Compressor : BaseCompressor { /// /// Creates a new OAB compressor /// public Compressor() { throw new NotImplementedException(); } /// /// Destroys an existing OAB compressor /// ~Compressor() { throw new NotImplementedException(); } /// /// Compress a full OAB file. /// /// The input file will be read and the compressed contents written to the /// output file. /// /// /// The filename of the input file. This is passed /// directly to mspack_system::open(). /// /// /// The filename of the output file. This is passed /// directly to mspack_system::open(). /// /// An error code, or MSPACK_ERR_OK if successful public MSPACK_ERR compress(in string input, in string output) => throw new NotImplementedException(); /// /// Generate a compressed incremental OAB patch file. /// /// The two uncompressed files "input" and "base" will be read, and an /// incremental patch to generate "input" from "base" will be written to /// the output file. /// /// /// The filename of the input file containing the new /// version of its contents. This is passed directly /// to mspack_system::open(). /// /// /// The filename of the original base file containing /// the old version of its contents, against which the /// incremental patch shall generated. This is passed /// directly to mspack_system::open(). /// /// /// The filename of the output file. This is passed /// directly to mspack_system::open(). /// /// An error code, or MSPACK_ERR_OK if successful public MSPACK_ERR compress_incremental(in string input, in string @base, in string output) => throw new NotImplementedException(); } }