Update DataReader.java
make rewind() method fully rewind the stream
This commit is contained in:
parent
d1801e1dbc
commit
aaf5d7b89c
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…
Reference in a new issue