Decode.cs 883 B

12345678910111213141516171819202122232425262728293031323334
  1. namespace SharpCompress.Compressors.Rar.UnpackV1.Decode
  2. {
  3. internal class Decode
  4. {
  5. internal Decode()
  6. : this(new int[2])
  7. {
  8. }
  9. protected Decode(int[] customDecodeNum)
  10. {
  11. DecodeLen = new int[16];
  12. DecodePos = new int[16];
  13. DecodeNum = customDecodeNum;
  14. }
  15. /// <summary> returns the decode Length array</summary>
  16. /// <returns> decodeLength
  17. /// </returns>
  18. internal int[] DecodeLen { get; }
  19. /// <summary> returns the decode num array</summary>
  20. /// <returns> decodeNum
  21. /// </returns>
  22. internal int[] DecodeNum { get; }
  23. /// <summary> returns the decodePos array</summary>
  24. /// <returns> decodePos
  25. /// </returns>
  26. internal int[] DecodePos { get; }
  27. internal int MaxNum { get; set; }
  28. }
  29. }