请解释一下为什么谷歌编码器不调用该flush()
方法?
/**
* Flushes the stream and forces any buffered bytes to be written. This
* does not flush the underlying OutputStream.
*/
public void flush() throws IOException {
if (output != null) {
refreshBuffer();
}
}
这有什么隐藏的原因吗?