diff --git a/src/CatLib.Core/Support/Stream/CombineStream.cs b/src/CatLib.Core/Support/Stream/CombineStream.cs index fb7be4b..a0fedb9 100644 --- a/src/CatLib.Core/Support/Stream/CombineStream.cs +++ b/src/CatLib.Core/Support/Stream/CombineStream.cs @@ -90,7 +90,20 @@ public override long Position /// /// 是否是可读的 /// - public override bool CanRead => true; + public override bool CanRead + { + get + { + foreach (var stream in streams) + { + if (!stream.CanRead) + { + return false; + } + } + return true; + } + } /// /// 是否是可写的