| synopsis || return value || prev || next |
virtual bool close( )
Java: boolean Close( )
[Declared in "../apps/compressed_io/jp2.h"]
Implements kdu_compressed_source::close. It is safe to call this function at any time, even if the box is not currently open or if its super-box has somehow been closed or the underlying jp2_family_src object has ceased to exist (usually an error condition, but still safe). However, a super-box's members may be accessed by this function, so you should make sure that you do not destroy the super-box used to open a sub-box, until after the sub-box has at least closed.
True if the contents of the box were completely consumed by calls to read, or by opening and closing of sub-boxes.
| top || synopsis || return value || prev || next |