public class CompressedStreamTools
extends java.lang.Object
Constructor and Description |
---|
CompressedStreamTools() |
Modifier and Type | Method and Description |
---|---|
static NBTTagCompound |
read(java.io.DataInput p_152456_0_,
NBTSizeTracker p_152456_1_)
Reads the given DataInput, constructs, and returns an NBTTagCompound with the data from the DataInput
|
static NBTTagCompound |
read(java.io.DataInputStream inputStream)
Reads from a CompressedStream.
|
static NBTTagCompound |
read(java.io.File p_74797_0_) |
static NBTTagCompound |
readCompressed(java.io.InputStream is)
Load the gzipped compound from the inputstream.
|
static void |
safeWrite(NBTTagCompound p_74793_0_,
java.io.File p_74793_1_) |
static void |
write(NBTTagCompound p_74800_0_,
java.io.DataOutput p_74800_1_) |
static void |
write(NBTTagCompound p_74795_0_,
java.io.File p_74795_1_) |
static void |
writeCompressed(NBTTagCompound p_74799_0_,
java.io.OutputStream outputStream)
Write the compound, gzipped, to the outputstream.
|
public static NBTTagCompound readCompressed(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static void writeCompressed(NBTTagCompound p_74799_0_, java.io.OutputStream outputStream) throws java.io.IOException
java.io.IOException
public static void safeWrite(NBTTagCompound p_74793_0_, java.io.File p_74793_1_) throws java.io.IOException
java.io.IOException
public static NBTTagCompound read(java.io.DataInputStream inputStream) throws java.io.IOException
java.io.IOException
public static NBTTagCompound read(java.io.DataInput p_152456_0_, NBTSizeTracker p_152456_1_) throws java.io.IOException
java.io.IOException
public static void write(NBTTagCompound p_74800_0_, java.io.DataOutput p_74800_1_) throws java.io.IOException
java.io.IOException
public static void write(NBTTagCompound p_74795_0_, java.io.File p_74795_1_) throws java.io.IOException
java.io.IOException
public static NBTTagCompound read(java.io.File p_74797_0_) throws java.io.IOException
java.io.IOException