Class IOUtils


  • public class IOUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IOUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int read​(java.io.InputStream inputStream, byte[] buf)  
      static int read​(java.io.InputStream inputStream, byte[] buf, int off, int len)  
      static @org.jetbrains.annotations.Nullable byte[] readNBytes​(java.io.InputStream inputStream, int len)
      This method can be deleted once Jadx is Java11+
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IOUtils

        public IOUtils()
    • Method Detail

      • readNBytes

        @Nullable
        public static @org.jetbrains.annotations.Nullable byte[] readNBytes​(java.io.InputStream inputStream,
                                                                            int len)
                                                                     throws java.io.IOException
        This method can be deleted once Jadx is Java11+
        Throws:
        java.io.IOException
      • read

        public static int read​(java.io.InputStream inputStream,
                               byte[] buf)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public static int read​(java.io.InputStream inputStream,
                               byte[] buf,
                               int off,
                               int len)
                        throws java.io.IOException
        Throws:
        java.io.IOException