Learn R Programming

qs (version 0.25.1.1)

zstd_compress_bound: Zstd compress bound

Description

Exports the compress bound function from the zstd library. Returns the maximum compressed size of an object of length `size`.

Usage

zstd_compress_bound(size)

Arguments

size

An integer size

Value

maximum compressed size

Examples

Run this code
# NOT RUN {
zstd_compress_bound(100000)
zstd_compress_bound(1e9)
# }

Run the code above in your browser using DataLab