java.lang.Object
io.github.applecommander.bastools.api.utils.Streams

public class Streams extends Object
  • Method Details

    • toByteArray

      public static byte[] toByteArray(InputStream inputStream) throws IOException
      Utility method to read all bytes from an InputStream.
      Throws:
      IOException