com.wallstop-studios.unity-helpers 2.0.0-rc78.9 → 2.0.0-rc79.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/Runtime/Protobuf-Net/System.Collections.Immutable.dll +0 -0
  2. package/Runtime/Protobuf-Net/System.Runtime.CompilerServices.Unsafe.dll +0 -0
  3. package/Runtime/Protobuf-Net/protobuf-net.Core.dll +0 -0
  4. package/Runtime/Protobuf-Net/protobuf-net.dll +0 -0
  5. package/Runtime/Utils/Ascii85.cs +115 -0
  6. package/Runtime/Utils/Ascii85.cs.meta +3 -0
  7. package/Runtime/Utils/LZMA.cs +53 -0
  8. package/Runtime/Utils/LZMA.cs.meta +3 -0
  9. package/Runtime/Utils/SevenZip/Common/CRC.cs +61 -0
  10. package/Runtime/Utils/SevenZip/Common/CRC.cs.meta +11 -0
  11. package/Runtime/Utils/SevenZip/Common/InBuffer.cs +71 -0
  12. package/Runtime/Utils/SevenZip/Common/InBuffer.cs.meta +11 -0
  13. package/Runtime/Utils/SevenZip/Common/OutBuffer.cs +65 -0
  14. package/Runtime/Utils/SevenZip/Common/OutBuffer.cs.meta +11 -0
  15. package/Runtime/Utils/SevenZip/Common.meta +3 -0
  16. package/Runtime/Utils/SevenZip/Compress/LZ/IMatchFinder.cs +28 -0
  17. package/Runtime/Utils/SevenZip/Compress/LZ/IMatchFinder.cs.meta +11 -0
  18. package/Runtime/Utils/SevenZip/Compress/LZ/LzBinTree.cs +404 -0
  19. package/Runtime/Utils/SevenZip/Compress/LZ/LzBinTree.cs.meta +11 -0
  20. package/Runtime/Utils/SevenZip/Compress/LZ/LzInWindow.cs +153 -0
  21. package/Runtime/Utils/SevenZip/Compress/LZ/LzInWindow.cs.meta +11 -0
  22. package/Runtime/Utils/SevenZip/Compress/LZ/LzOutWindow.cs +110 -0
  23. package/Runtime/Utils/SevenZip/Compress/LZ/LzOutWindow.cs.meta +11 -0
  24. package/Runtime/{Protobuf-Net/System.Collections.Immutable.xml.meta → Utils/SevenZip/Compress/LZ.meta} +3 -2
  25. package/Runtime/Utils/SevenZip/Compress/LZMA/LzmaBase.cs +101 -0
  26. package/Runtime/Utils/SevenZip/Compress/LZMA/LzmaBase.cs.meta +11 -0
  27. package/Runtime/Utils/SevenZip/Compress/LZMA/LzmaDecoder.cs +464 -0
  28. package/Runtime/Utils/SevenZip/Compress/LZMA/LzmaDecoder.cs.meta +11 -0
  29. package/Runtime/Utils/SevenZip/Compress/LZMA/LzmaEncoder.cs +1669 -0
  30. package/Runtime/Utils/SevenZip/Compress/LZMA/LzmaEncoder.cs.meta +11 -0
  31. package/Runtime/Utils/SevenZip/Compress/LZMA.meta +8 -0
  32. package/Runtime/Utils/SevenZip/Compress/RangeCoder/RangeCoder.cs +233 -0
  33. package/Runtime/Utils/SevenZip/Compress/RangeCoder/RangeCoder.cs.meta +11 -0
  34. package/Runtime/Utils/SevenZip/Compress/RangeCoder/RangeCoderBit.cs +137 -0
  35. package/Runtime/Utils/SevenZip/Compress/RangeCoder/RangeCoderBit.cs.meta +11 -0
  36. package/Runtime/Utils/SevenZip/Compress/RangeCoder/RangeCoderBitTree.cs +170 -0
  37. package/Runtime/Utils/SevenZip/Compress/RangeCoder/RangeCoderBitTree.cs.meta +11 -0
  38. package/Runtime/Utils/SevenZip/Compress/RangeCoder.meta +8 -0
  39. package/Runtime/{Protobuf-Net/System.Runtime.CompilerServices.Unsafe.xml.meta → Utils/SevenZip/Compress.meta} +3 -2
  40. package/Runtime/Utils/SevenZip/ICoder.cs +177 -0
  41. package/Runtime/Utils/SevenZip/ICoder.cs.meta +11 -0
  42. package/Runtime/Utils/SevenZip.meta +3 -0
  43. package/package.json +3 -1
  44. package/Runtime/Protobuf-Net/System.Buffers.dll +0 -0
  45. package/Runtime/Protobuf-Net/System.Buffers.dll.meta +0 -33
  46. package/Runtime/Protobuf-Net/System.Collections.Immutable.xml +0 -6812
  47. package/Runtime/Protobuf-Net/System.Numerics.Vectors.dll +0 -0
  48. package/Runtime/Protobuf-Net/System.Numerics.Vectors.dll.meta +0 -33
  49. package/Runtime/Protobuf-Net/System.Runtime.CompilerServices.Unsafe.xml +0 -342
@@ -0,0 +1,177 @@
1
+ // ICoder.h
2
+
3
+ using System;
4
+
5
+ namespace SevenZip
6
+ {
7
+ /// <summary>
8
+ /// The exception that is thrown when an error in input stream occurs during decoding.
9
+ /// </summary>
10
+ class DataErrorException : ApplicationException
11
+ {
12
+ public DataErrorException()
13
+ : base("Data Error") { }
14
+ }
15
+
16
+ /// <summary>
17
+ /// The exception that is thrown when the value of an argument is outside the allowable range.
18
+ /// </summary>
19
+ class InvalidParamException : ApplicationException
20
+ {
21
+ public InvalidParamException()
22
+ : base("Invalid Parameter") { }
23
+ }
24
+
25
+ public interface ICodeProgress
26
+ {
27
+ /// <summary>
28
+ /// Callback progress.
29
+ /// </summary>
30
+ /// <param name="inSize">
31
+ /// input size. -1 if unknown.
32
+ /// </param>
33
+ /// <param name="outSize">
34
+ /// output size. -1 if unknown.
35
+ /// </param>
36
+ void SetProgress(Int64 inSize, Int64 outSize);
37
+ };
38
+
39
+ public interface ICoder
40
+ {
41
+ /// <summary>
42
+ /// Codes streams.
43
+ /// </summary>
44
+ /// <param name="inStream">
45
+ /// input Stream.
46
+ /// </param>
47
+ /// <param name="outStream">
48
+ /// output Stream.
49
+ /// </param>
50
+ /// <param name="inSize">
51
+ /// input Size. -1 if unknown.
52
+ /// </param>
53
+ /// <param name="outSize">
54
+ /// output Size. -1 if unknown.
55
+ /// </param>
56
+ /// <param name="progress">
57
+ /// callback progress reference.
58
+ /// </param>
59
+ /// <exception cref="SevenZip.DataErrorException">
60
+ /// if input stream is not valid
61
+ /// </exception>
62
+ void Code(
63
+ System.IO.Stream inStream,
64
+ System.IO.Stream outStream,
65
+ Int64 inSize,
66
+ Int64 outSize,
67
+ ICodeProgress progress
68
+ );
69
+ };
70
+
71
+ /*
72
+ public interface ICoder2
73
+ {
74
+ void Code(ISequentialInStream []inStreams,
75
+ const UInt64 []inSizes,
76
+ ISequentialOutStream []outStreams,
77
+ UInt64 []outSizes,
78
+ ICodeProgress progress);
79
+ };
80
+ */
81
+
82
+ /// <summary>
83
+ /// Provides the fields that represent properties idenitifiers for compressing.
84
+ /// </summary>
85
+ public enum CoderPropID
86
+ {
87
+ /// <summary>
88
+ /// Specifies default property.
89
+ /// </summary>
90
+ DefaultProp = 0,
91
+
92
+ /// <summary>
93
+ /// Specifies size of dictionary.
94
+ /// </summary>
95
+ DictionarySize,
96
+
97
+ /// <summary>
98
+ /// Specifies size of memory for PPM*.
99
+ /// </summary>
100
+ UsedMemorySize,
101
+
102
+ /// <summary>
103
+ /// Specifies order for PPM methods.
104
+ /// </summary>
105
+ Order,
106
+
107
+ /// <summary>
108
+ /// Specifies Block Size.
109
+ /// </summary>
110
+ BlockSize,
111
+
112
+ /// <summary>
113
+ /// Specifies number of postion state bits for LZMA (0 <= x <= 4).
114
+ /// </summary>
115
+ PosStateBits,
116
+
117
+ /// <summary>
118
+ /// Specifies number of literal context bits for LZMA (0 <= x <= 8).
119
+ /// </summary>
120
+ LitContextBits,
121
+
122
+ /// <summary>
123
+ /// Specifies number of literal position bits for LZMA (0 <= x <= 4).
124
+ /// </summary>
125
+ LitPosBits,
126
+
127
+ /// <summary>
128
+ /// Specifies number of fast bytes for LZ*.
129
+ /// </summary>
130
+ NumFastBytes,
131
+
132
+ /// <summary>
133
+ /// Specifies match finder. LZMA: "BT2", "BT4" or "BT4B".
134
+ /// </summary>
135
+ MatchFinder,
136
+
137
+ /// <summary>
138
+ /// Specifies the number of match finder cyckes.
139
+ /// </summary>
140
+ MatchFinderCycles,
141
+
142
+ /// <summary>
143
+ /// Specifies number of passes.
144
+ /// </summary>
145
+ NumPasses,
146
+
147
+ /// <summary>
148
+ /// Specifies number of algorithm.
149
+ /// </summary>
150
+ Algorithm,
151
+
152
+ /// <summary>
153
+ /// Specifies the number of threads.
154
+ /// </summary>
155
+ NumThreads,
156
+
157
+ /// <summary>
158
+ /// Specifies mode with end marker.
159
+ /// </summary>
160
+ EndMarker,
161
+ };
162
+
163
+ public interface ISetCoderProperties
164
+ {
165
+ void SetCoderProperties(CoderPropID[] propIDs, object[] properties);
166
+ };
167
+
168
+ public interface IWriteCoderProperties
169
+ {
170
+ void WriteCoderProperties(System.IO.Stream outStream);
171
+ }
172
+
173
+ public interface ISetDecoderProperties
174
+ {
175
+ void SetDecoderProperties(byte[] properties);
176
+ }
177
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 8d3be5ef4d203f04bac35b3eef6f7bdc
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: b50148f261fa4c4a8213a71f58979c37
3
+ timeCreated: 1756402876
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.wallstop-studios.unity-helpers",
3
- "version": "2.0.0-rc78.9",
3
+ "version": "2.0.0-rc79.1",
4
4
  "displayName": "Unity Helpers",
5
5
  "description": "Various Unity Helper Library",
6
6
  "dependencies": {},
@@ -43,3 +43,5 @@
43
43
 
44
44
 
45
45
 
46
+
47
+
@@ -1,33 +0,0 @@
1
- fileFormatVersion: 2
2
- guid: 0b2150e4058ce7f44a227744f555355a
3
- PluginImporter:
4
- externalObjects: {}
5
- serializedVersion: 2
6
- iconMap: {}
7
- executionOrder: {}
8
- defineConstraints: []
9
- isPreloaded: 0
10
- isOverridable: 1
11
- isExplicitlyReferenced: 0
12
- validateReferences: 1
13
- platformData:
14
- - first:
15
- Any:
16
- second:
17
- enabled: 1
18
- settings: {}
19
- - first:
20
- Editor: Editor
21
- second:
22
- enabled: 0
23
- settings:
24
- DefaultValueInitialized: true
25
- - first:
26
- Windows Store Apps: WindowsStoreApps
27
- second:
28
- enabled: 0
29
- settings:
30
- CPU: AnyCPU
31
- userData:
32
- assetBundleName:
33
- assetBundleVariant: