close method
void
close()
Close this filter if not already closed.
Subclasses will have an opportunity to doClose before the buffers are released.
Implementation
void close() {
if (!closed) {
doClose();
_releaseBuffers();
state = CodecFilterState.closed;
}
}