raroscope icon indicating copy to clipboard operation
raroscope copied to clipboard

does not always read all byte

Open gawric opened this issue 5 years ago • 0 comments

Hello RAROScope does not always read all bytes from inputstream.availabes (java does not recommend to use) need to fix a piece of code-> in RARFiles

public RARFile(InputStream stream) throws IOException { this.stream = stream;

    this.available = this.stream.availabel

on

public RARFile(FileInputStream stream<--) throws IOException { this.stream = stream;

    this.available = this.stream.getChannel().size()<---;

for Cyrillic readability entry.setName(new String(name )); on entry.setName(new String(name , "CP866"));

gawric avatar Oct 13 '18 18:10 gawric