2022-05-19 11:20:44 -07:00
|
|
|
|
/* This file is part of libmspack.
|
|
|
|
|
|
* (C) 2003-2013 Stuart Caie.
|
|
|
|
|
|
*
|
|
|
|
|
|
* The LZX method was created by Jonathan Forbes and Tomi Poutanen, adapted
|
|
|
|
|
|
* by Microsoft Corporation.
|
|
|
|
|
|
*
|
|
|
|
|
|
* libmspack is free software { get; set; } you can redistribute it and/or modify it under
|
|
|
|
|
|
* the terms of the GNU Lesser General Public License (LGPL) version 2.1
|
|
|
|
|
|
*
|
|
|
|
|
|
* For further details, see the file COPYING.LIB distributed with libmspack
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
namespace LibMSPackSharp.Compression
|
|
|
|
|
|
{
|
2022-05-24 16:52:41 -07:00
|
|
|
|
public abstract partial class CompressionStream : BaseDecompressState
|
2022-05-19 11:20:44 -07:00
|
|
|
|
{
|
|
|
|
|
|
public byte[] InputBuffer { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public uint InputBufferSize { get; set; }
|
|
|
|
|
|
|
2022-05-23 22:36:24 -07:00
|
|
|
|
/// <summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
/// i_ptr
|
2022-05-23 22:36:24 -07:00
|
|
|
|
/// </summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
public int InputPointer { get; set; }
|
2022-05-23 22:36:24 -07:00
|
|
|
|
|
2022-05-23 23:31:55 -07:00
|
|
|
|
/// <summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
/// i_end
|
2022-05-23 23:31:55 -07:00
|
|
|
|
/// </summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
public int InputEnd { get; set; }
|
2022-05-23 23:31:55 -07:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
/// o_ptr
|
2022-05-23 23:31:55 -07:00
|
|
|
|
/// </summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
public int OutputPointer { get; set; }
|
2022-05-24 09:35:11 -07:00
|
|
|
|
|
2022-05-19 11:20:44 -07:00
|
|
|
|
/// <summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
/// o_end
|
2022-05-19 11:20:44 -07:00
|
|
|
|
/// </summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
public int OutputEnd { get; set; }
|
2022-05-24 00:47:09 -07:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
/// bit_buffer
|
2022-05-24 00:47:09 -07:00
|
|
|
|
/// </summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
public uint BitBuffer { get; set; }
|
2022-05-24 00:47:09 -07:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
/// bits_left
|
2022-05-24 00:47:09 -07:00
|
|
|
|
/// </summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
public int BitsLeft { get; set; }
|
2022-05-24 00:47:09 -07:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
/// Have we reached the end of input?
|
2022-05-24 00:47:09 -07:00
|
|
|
|
/// </summary>
|
2022-05-24 16:52:41 -07:00
|
|
|
|
public int EndOfInput { get; set; }
|
2022-05-19 11:20:44 -07:00
|
|
|
|
}
|
|
|
|
|
|
}
|