mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #47 - Singleplayer lag fixes
This commit is contained in:
@ -26,15 +26,33 @@ public class EaglerZLIB {
|
||||
public static OutputStream newDeflaterOutputStream(OutputStream os) throws IOException {
|
||||
return PlatformRuntime.newDeflaterOutputStream(os);
|
||||
}
|
||||
|
||||
|
||||
public static int deflateFull(byte[] input, byte[] output) throws IOException {
|
||||
return PlatformRuntime.deflateFull(input, 0, input.length, output, 0, output.length);
|
||||
}
|
||||
|
||||
public static int deflateFull(byte[] input, int inputOff, int inputLen, byte[] output, int outputOff,
|
||||
int outputLen) throws IOException {
|
||||
return PlatformRuntime.deflateFull(input, inputOff, inputLen, output, outputOff, outputLen);
|
||||
}
|
||||
|
||||
public static OutputStream newGZIPOutputStream(OutputStream os) throws IOException {
|
||||
return PlatformRuntime.newGZIPOutputStream(os);
|
||||
}
|
||||
|
||||
|
||||
public static InputStream newInflaterInputStream(InputStream is) throws IOException {
|
||||
return PlatformRuntime.newInflaterInputStream(is);
|
||||
}
|
||||
|
||||
|
||||
public static int inflateFull(byte[] input, byte[] output) throws IOException {
|
||||
return PlatformRuntime.inflateFull(input, 0, input.length, output, 0, output.length);
|
||||
}
|
||||
|
||||
public static int inflateFull(byte[] input, int inputOff, int inputLen, byte[] output, int outputOff,
|
||||
int outputLen) throws IOException {
|
||||
return PlatformRuntime.inflateFull(input, inputOff, inputLen, output, outputOff, outputLen);
|
||||
}
|
||||
|
||||
public static InputStream newGZIPInputStream(InputStream is) throws IOException {
|
||||
return PlatformRuntime.newGZIPInputStream(is);
|
||||
}
|
||||
|
Reference in New Issue
Block a user