pub unsafe extern "C" fn svn_stream_compressed(
stream: *mut svn_stream_t,
pool: *mut apr_pool_t,
) -> *mut svn_stream_t
Expand description
Return a stream that decompresses all data read and compresses all data written. The stream @a stream is used to read and write all compressed data. All compression data structures are allocated on @a pool. If compression support is not compiled in then svn_stream_compressed() returns @a stream unmodified. Make sure you call svn_stream_close() on the stream returned by this function, so that all data are flushed and cleaned up.
@note From 1.4, compression support is always compiled in.