[][src]Crate zstd_seekable

Structs

CStream

The type of compressors.

CompressedFrame
DStream
FrameLog

The type of compressors.

Seekable

The type of decompressors.

SeekableCStream

The type of seekable compressors.

ZSTD_CCtx_s
ZSTD_DCtx_s
ZSTD_frameLog_s
ZSTD_inBuffer_s

Streaming

ZSTD_outBuffer_s
ZSTD_seekable_CStream_s
ZSTD_seekable_customFile
ZSTD_seekable_s
_IO_FILE
_IO_codecvt
_IO_marker
_IO_wide_data

Enums

EndDirective
Error

Constants

ZSTD_EndDirective_ZSTD_e_continue
ZSTD_EndDirective_ZSTD_e_end
ZSTD_EndDirective_ZSTD_e_flush

Traits

Dst

Functions

ZSTD_CStreamInSize
ZSTD_CStreamOutSize
ZSTD_DStreamOutSize
ZSTD_compress

Simple API Compresses src content as a single zstd compressed frame into already allocated dst. Hint : compression runs faster if dstCapacity >= ZSTD_compressBound(srcSize). @return : compressed size written into dst (<= `dstCapacity), or an error code if it fails (which can be tested using ZSTD_isError()).

ZSTD_compressStream

Alternative for ZSTD_compressStream2(zcs, output, input, ZSTD_e_continue). NOTE: The return value is different. ZSTD_compressStream() returns a hint for the next read size (if non-zero and not an error). ZSTD_compressStream2() returns the minimum nb of bytes left to flush (if non-zero and not an error).

ZSTD_compressStream2

ZSTD_compressStream2() : Behaves about the same as ZSTD_compressStream, with additional control on end directive.

ZSTD_createCStream
ZSTD_createDStream
ZSTD_decompressStream
ZSTD_endStream

Equivalent to ZSTD_compressStream2(zcs, output, &emptyInput, ZSTD_e_end).

ZSTD_flushStream

Equivalent to ZSTD_compressStream2(zcs, output, &emptyInput, ZSTD_e_flush).

ZSTD_freeCStream
ZSTD_freeDStream
ZSTD_getErrorName
ZSTD_initCStream

Equivalent to:

ZSTD_initDStream
ZSTD_isError
ZSTD_seekable_compressStream
ZSTD_seekable_create
ZSTD_seekable_createCStream
ZSTD_seekable_createFrameLog
ZSTD_seekable_decompress
ZSTD_seekable_decompressFrame
ZSTD_seekable_endStream
ZSTD_seekable_free
ZSTD_seekable_freeCStream
ZSTD_seekable_freeFrameLog
ZSTD_seekable_getFrameCompressedOffset
ZSTD_seekable_getFrameCompressedSize
ZSTD_seekable_getFrameDecompressedOffset
ZSTD_seekable_getFrameDecompressedSize
ZSTD_seekable_getNumFrames
ZSTD_seekable_initAdvanced
ZSTD_seekable_initBuff
ZSTD_seekable_initCStream
ZSTD_seekable_initFile
ZSTD_seekable_logFrame
ZSTD_seekable_offsetToFrameIndex
ZSTD_seekable_writeSeekTable
out_size
parallel_compress

Type Definitions

FILE
ZSTD_CCtx

Explicit context

ZSTD_CStream
ZSTD_DCtx
ZSTD_DStream
ZSTD_EndDirective
ZSTD_frameLog
ZSTD_inBuffer

Streaming

ZSTD_outBuffer
ZSTD_seekable
ZSTD_seekable_CStream
ZSTD_seekable_read
ZSTD_seekable_seek
_IO_lock_t
__off64_t
__off_t
size_t