Update DataReader.java

make rewind() method fully rewind the stream
This commit is contained in:
kapodamy 2020-02-06 17:00:32 -03:00 committed by GitHub
parent d1801e1dbc
commit aaf5d7b89c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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() {