def stream_destroy(stream):
OPENJP2.opj_stream_destroy.argtypes = [STREAM_TYPE_P]<EOL>OPENJP2.opj_stream_destroy.restype = ctypes.c_void_p<EOL>OPENJP2.opj_stream_destroy(stream)<EOL>
Wraps openjp2 library function opj_stream_destroy.

    Destroys the stream created by create_stream.

    Parameters
    ----------
    stream : STREAM_TYPE_P
        The file stream.