Package net.minecraft.src
Class CompressedStreamTools
- java.lang.Object
-
- net.minecraft.src.CompressedStreamTools
-
public class CompressedStreamTools extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CompressedStreamTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
compress(NBTTagCompound var0)
static NBTTagCompound
decompress(byte[] var0)
static NBTTagCompound
read(java.io.DataInput var0)
static NBTTagCompound
read(java.io.File var0)
static NBTTagCompound
readCompressed(java.io.InputStream var0)
static void
safeWrite(NBTTagCompound var0, java.io.File var1)
static void
write(NBTTagCompound var0, java.io.DataOutput var1)
static void
write(NBTTagCompound var0, java.io.File var1)
static void
writeCompressed(NBTTagCompound var0, java.io.OutputStream var1)
-
-
-
Method Detail
-
readCompressed
public static NBTTagCompound readCompressed(java.io.InputStream var0) throws java.io.IOException
- Throws:
java.io.IOException
-
writeCompressed
public static void writeCompressed(NBTTagCompound var0, java.io.OutputStream var1) throws java.io.IOException
- Throws:
java.io.IOException
-
decompress
public static NBTTagCompound decompress(byte[] var0) throws java.io.IOException
- Throws:
java.io.IOException
-
compress
public static byte[] compress(NBTTagCompound var0) throws java.io.IOException
- Throws:
java.io.IOException
-
safeWrite
@Client public static void safeWrite(NBTTagCompound var0, java.io.File var1) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public static void write(NBTTagCompound var0, java.io.File var1) throws java.io.IOException
- Throws:
java.io.IOException
-
read
public static NBTTagCompound read(java.io.File var0) throws java.io.IOException
- Throws:
java.io.IOException
-
read
public static NBTTagCompound read(java.io.DataInput var0) throws java.io.IOException
- Throws:
java.io.IOException
-
write
public static void write(NBTTagCompound var0, java.io.DataOutput var1) throws java.io.IOException
- Throws:
java.io.IOException
-
-