mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-29 22:04:25 +02:00
fix: read file channel stream #32
This commit is contained in:
parent
ce27a1bf4f
commit
ac7c49c22b
@ -148,7 +148,7 @@ public class FileChannelInputStream extends InputStream {
|
||||
position += availableChannel;
|
||||
remaining = remaining - availableChannel;
|
||||
amount = amount - remaining;
|
||||
fileChannel.position(fileChannel.position() + amount);
|
||||
fileChannel.position(fileChannel.position() + availableChannel);
|
||||
return amount;
|
||||
}
|
||||
private int skipBuffer(int amount){
|
||||
|
Loading…
x
Reference in New Issue
Block a user