We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7072d38 commit 8db64c6Copy full SHA for 8db64c6
src/CatLib.Core/Support/Stream/CombineStream.cs
@@ -17,7 +17,7 @@ namespace CatLib
17
/// <summary>
18
/// 组合流,允许将多个不同的流组合成一个流
19
/// </summary>
20
- public class CombineStream : Stream
+ public class CombineStream : WrapperStream
21
{
22
23
/// 全局游标位置
src/CatLib.Core/Support/Stream/WrapperStream.cs
@@ -54,6 +54,14 @@ public override long Position
54
55
public override long Length => BaseStream.Length;
56
57
+ /// <summary>
58
+ /// 构建一个包装流
59
+ /// </summary>
60
+ public WrapperStream()
61
+ {
62
+ BaseStream = this;
63
+ }
64
+
65
66
/// 构建一个包装流
67
0 commit comments