Module: OMQ::RFC::Zstd
- Defined in:
- lib/omq/rfc/zstd/codec.rb,
lib/omq/rfc/zstd/version.rb,
lib/omq/rfc/zstd/constants.rb,
lib/omq/rfc/zstd/connection.rb,
lib/omq/rfc/zstd/engine_ext.rb,
lib/omq/rfc/zstd/compression.rb,
lib/omq/rfc/zstd/options_ext.rb
Defined Under Namespace
Modules: Codec, EngineExt, OptionsExt Classes: Compression, CompressionConnection, DecompressedSizeExceedsMaxError, DictMismatchError, Error, MissingContentSizeError, ShortFrameError, UnknownSentinelError
Constant Summary collapse
- VERSION =
"0.1.2"- SENTINEL_UNCOMPRESSED =
"\x00\x00\x00\x00".b.freeze
- SENTINEL_ZSTD_FRAME =
"\x28\xB5\x2F\xFD".b.freeze
- SENTINEL_SIZE =
4- PROPERTY_NAME =
"X-Compression"- DEFAULT_LEVEL =
-3
- MIN_COMPRESS_BYTES_NO_DICT =
512- MIN_COMPRESS_BYTES_DICT =
64- AUTO_DICT_SAMPLE_COUNT =
1000- AUTO_DICT_SAMPLE_BYTES =
100 * 1024
- AUTO_DICT_MAX_SAMPLE_LEN =
1024- DICT_FRAME_MAX_SIZE =
64 * 1024
- PROFILE_NONE =
"zstd:none"- PROFILE_DICT_PREFIX =
"zstd:dict:sha1:"- PROFILE_DICT_INLINE =
"zstd:dict:inline"- PROFILE_DICT_AUTO =
"zstd:dict:auto"