mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 20:27:36 +02:00
Track and seek to the current position in RandomAccessFileOutputStream
This commit is contained in:
@ -233,7 +233,7 @@ public class DexFile {
|
||||
}
|
||||
|
||||
private static DexWriter outputAt(RandomAccessFile raf, int filePosition) throws IOException {
|
||||
return new DexWriter(new RandomAccessFileOutputStream(raf), filePosition);
|
||||
return new DexWriter(new RandomAccessFileOutputStream(raf, filePosition), filePosition);
|
||||
}
|
||||
|
||||
public static void writeTo(@Nonnull String path, @Nonnull org.jf.dexlib2.iface.DexFile input) throws IOException {
|
||||
|
Reference in New Issue
Block a user