Package net.minecraft.nbt
Class CompressedStreamTools
- java.lang.Object
-
- net.minecraft.nbt.CompressedStreamTools
-
public class CompressedStreamTools extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description CompressedStreamTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NBTTagCompound
read(java.io.DataInput parDataInput, NBTSizeTracker parNBTSizeTracker)
+ Reads the given DataInput, constructs, and returns an NBTTagCompound with the data from the DataInputstatic NBTTagCompound
read(java.io.DataInputStream inputStream)
+ Reads the given DataInput, constructs, and returns an NBTTagCompound with the data from the DataInputstatic NBTTagCompound
readCompressed(java.io.InputStream is)
+ Load the gzipped compound from the inputstream.static void
write(NBTTagCompound parNBTTagCompound, java.io.DataOutput parDataOutput)
static void
writeCompressed(NBTTagCompound outputStream, java.io.OutputStream parOutputStream)
+ Write the compound, gzipped, to the outputstream.
-
-
-
Method Detail
-
readCompressed
public static NBTTagCompound readCompressed(java.io.InputStream is) throws java.io.IOException
+ Load the gzipped compound from the inputstream.- Throws:
java.io.IOException
-
writeCompressed
public static void writeCompressed(NBTTagCompound outputStream, java.io.OutputStream parOutputStream) throws java.io.IOException
+ Write the compound, gzipped, to the outputstream.- Throws:
java.io.IOException
-
read
public static NBTTagCompound read(java.io.DataInputStream inputStream) throws java.io.IOException
+ Reads the given DataInput, constructs, and returns an NBTTagCompound with the data from the DataInput- Throws:
java.io.IOException
-
read
public static NBTTagCompound read(java.io.DataInput parDataInput, NBTSizeTracker parNBTSizeTracker) throws java.io.IOException
+ Reads the given DataInput, constructs, and returns an NBTTagCompound with the data from the DataInput- Throws:
java.io.IOException
-
write
public static void write(NBTTagCompound parNBTTagCompound, java.io.DataOutput parDataOutput) throws java.io.IOException
- Throws:
java.io.IOException
-
-