Update DataReader.java
make rewind() method fully rewind the stream
This commit is contained in:
parent
2a9586b557
commit
5e2aee6af2
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ public class DataReader {
|
||||||
|
|
||||||
position = 0;
|
position = 0;
|
||||||
readOffset = readBuffer.length;
|
readOffset = readBuffer.length;
|
||||||
|
readCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean canRewind() {
|
public boolean canRewind() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue