NOTE: after calling {@link #close()}, one must call this method even if the output stream itself hasn't changed. An example case is that the output stream wraps a byte[], and the output stream itself is reset, but its instance hasn't changed. Some implementations of {@link IntEncoder} may write some metadata about themselves to the outputstream, and therefore it is imperative that one calls this method before encoding any data.
|
|