Commit a84d854
authored
Fix SliceStream.Seek offset check (#19)
* Fix SliceStream.Seek offset check
Suppose that SliceStream has zero length. At the creation `Position` will have value `0` and. The check in `Seek` method would prevent reassigning the `0` to `Position` property which should be perfectly valid.
* Fix the exception message too1 parent 7549238 commit a84d854
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
0 commit comments