public class CompressedStreamTools
extends java.lang.Object
Constructor and Description |
---|
CompressedStreamTools() |
Modifier and Type | Method and Description |
---|---|
static CompoundNBT |
read(java.io.DataInput input,
NBTSizeTracker accounter) |
static CompoundNBT |
read(java.io.DataInputStream inputStream) |
static CompoundNBT |
read(java.io.File fileIn) |
static CompoundNBT |
readCompressed(java.io.InputStream is) |
static void |
safeWrite(CompoundNBT compound,
java.io.File fileIn) |
static void |
write(CompoundNBT compound,
java.io.DataOutput output) |
static void |
write(CompoundNBT compound,
java.io.File fileIn) |
static void |
writeCompressed(CompoundNBT compound,
java.io.OutputStream outputStream) |
public static CompoundNBT readCompressed(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static void writeCompressed(CompoundNBT compound, java.io.OutputStream outputStream) throws java.io.IOException
java.io.IOException
public static void safeWrite(CompoundNBT compound, java.io.File fileIn) throws java.io.IOException
java.io.IOException
public static void write(CompoundNBT compound, java.io.File fileIn) throws java.io.IOException
java.io.IOException
@Nullable public static CompoundNBT read(java.io.File fileIn) throws java.io.IOException
java.io.IOException
public static CompoundNBT read(java.io.DataInputStream inputStream) throws java.io.IOException
java.io.IOException
public static CompoundNBT read(java.io.DataInput input, NBTSizeTracker accounter) throws java.io.IOException
java.io.IOException
public static void write(CompoundNBT compound, java.io.DataOutput output) throws java.io.IOException
java.io.IOException