Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Compression Codec class

Source:R/compression.R
Codec.Rd

Codecs allow you to createcompressed input and output streams.

Factory

TheCodec$create() factory method takes the following arguments:

  • type: string name of the compression method. Possible values are"uncompressed", "snappy", "gzip", "brotli", "zstd", "lz4", "lzo", or"bz2".type may be upper- or lower-cased. Not all methods may beavailable; support depends on build-time flags for the C++ library.Seecodec_is_available(). Most builds support at least "snappy" and"gzip". All support "uncompressed".

  • compression_level: compression level, the default value (NA) uses thedefault compression level for the selected compressiontype.


[8]ページ先頭

©2009-2025 Movatter.jp