类 InputStreamUtil

java.lang.Object
io.github.wooenrico.InputStreamUtil

public final class InputStreamUtil extends Object
InputStream Util.
  • 构造器详细资料

    • InputStreamUtil

      public InputStreamUtil()
  • 方法详细资料

    • readAndClose

      public static byte[] readAndClose(InputStream inputStream) throws IOException
      Read the inputStream and close it.
      参数:
      inputStream - InputStream
      返回:
      byte[]
      抛出:
      IOException - IOException