StreamUtil - gopai/reporting-sdk GitHub Wiki

StreamUtil

StreamUtil is a simple streaming utility.

  • copy - Copy from an InputStream to an OutputStream.
  • read - Returns the InputStream as a byte array.
  • readIntoString - Returns the InputStream as a String