Class CompressedStreamTools


  • public class CompressedStreamTools
    extends java.lang.Object
    • Constructor Detail

      • CompressedStreamTools

        public CompressedStreamTools()
    • 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