mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-26 18:46:48 +00:00
#1323 Audio playback fails
This commit is contained in:
@@ -746,6 +746,16 @@ public class Helper {
|
||||
}
|
||||
}
|
||||
|
||||
public static void appendFile(String file, byte[]... data) {
|
||||
try (FileOutputStream fos = new FileOutputStream(file, true)) {
|
||||
for (byte[] d : data) {
|
||||
fos.write(d);
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
public static void writeFile(String file, byte[]... data) {
|
||||
try (FileOutputStream fos = new FileOutputStream(file)) {
|
||||
for (byte[] d : data) {
|
||||
|
||||
Reference in New Issue
Block a user