Commit 3fa1ace
committed
Unpacker.Try* throw IOException if stream ends
Previously they would sometimes return false, sometimes throw.
It's more consistent this way.1 parent 678d9e4 commit 3fa1ace
2 files changed
Lines changed: 254 additions & 276 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
| 195 | + | |
197 | 196 | | |
198 | 197 | | |
199 | 198 | | |
| |||
0 commit comments