TODO in short time,please wait a moment.
三種寫法
GZIPOutputStream gOut = new GZIPOutputStream(response.getOutputStream());
gOut.write(arr);
IOUtils.write(arr, gOut);
StreamUtils.copy(arr, gOut);
Files.copy(new File(""), gOut);
TODO in short time,please wait a moment.
三種寫法
GZIPOutputStream gOut = new GZIPOutputStream(response.getOutputStream());
gOut.write(arr);
IOUtils.write(arr, gOut);
StreamUtils.copy(arr, gOut);
Files.copy(new File(""), gOut);