public class CompressedStreamTools
extends java.lang.Object
Constructor and Description |
---|
CompressedStreamTools() |
Modifier and Type | Method and Description |
---|---|
private static NBTBase |
read(java.io.DataInput input,
int depth,
NBTSizeTracker accounter) |
static NBTTagCompound |
read(java.io.DataInput input,
NBTSizeTracker accounter) |
static NBTTagCompound |
read(java.io.DataInputStream inputStream) |
static NBTTagCompound |
read(java.io.File fileIn) |
static NBTTagCompound |
readCompressed(java.io.InputStream is) |
static void |
safeWrite(NBTTagCompound compound,
java.io.File fileIn) |
static void |
write(NBTTagCompound compound,
java.io.DataOutput output) |
static void |
write(NBTTagCompound compound,
java.io.File fileIn) |
static void |
writeCompressed(NBTTagCompound compound,
java.io.OutputStream outputStream) |
private static void |
writeTag(NBTBase tag,
java.io.DataOutput output) |
public static NBTTagCompound readCompressed(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static void writeCompressed(NBTTagCompound compound, java.io.OutputStream outputStream) throws java.io.IOException
java.io.IOException
public static void safeWrite(NBTTagCompound compound, java.io.File fileIn) 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 input, NBTSizeTracker accounter) throws java.io.IOException
java.io.IOException
public static void write(NBTTagCompound compound, java.io.DataOutput output) throws java.io.IOException
java.io.IOException
private static void writeTag(NBTBase tag, java.io.DataOutput output) throws java.io.IOException
java.io.IOException
private static NBTBase read(java.io.DataInput input, int depth, NBTSizeTracker accounter) throws java.io.IOException
java.io.IOException
public static void write(NBTTagCompound compound, java.io.File fileIn) throws java.io.IOException
java.io.IOException
@Nullable public static NBTTagCompound read(java.io.File fileIn) throws java.io.IOException
java.io.IOException