Skip to content

Commit 94f07e0

Browse files
author
喻斌
committed
bug fixed #69
1 parent 1682669 commit 94f07e0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/CatLib.Core/CatLib.Core.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
<Compile Include="Support\Storage\IStorage.cs" />
9595
<Compile Include="Support\Stream\CombineStream.cs" />
9696
<Compile Include="Support\Stream\PipelineStream.cs" />
97+
<Compile Include="Support\Stream\SegmentStream.cs" />
9798
<Compile Include="Support\Stream\StorageStream.cs" />
9899
<Compile Include="Support\Storage\MemoryStorage.cs" />
99100
<Compile Include="Support\Stream\WrapperStream.cs" />

src/CatLib.Core/Support/Stream/WrapperStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class WrapperStream : Stream
4646
public override long Position
4747
{
4848
get => BaseStream.Position;
49-
set => BaseStream.Position = value;
49+
set => Seek(value, SeekOrigin.Begin);
5050
}
5151

5252
/// <summary>

0 commit comments

Comments
 (0)