mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-27 22:04:46 +00:00
using less memory when playing sounds
This commit is contained in:
@@ -79,4 +79,8 @@ public class ByteArrayRange {
|
||||
System.arraycopy(array, this.pos + pos, data, 0, length);
|
||||
return data;
|
||||
}
|
||||
|
||||
public ByteArrayRange getSubRange(int pos, int length) {
|
||||
return new ByteArrayRange(array, this.pos + pos, length);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user