MCPcopy
hub / github.com/klauspost/compress / WithEncoderCRC

Function WithEncoderCRC

zstd/encoder_options.go:78–80  ·  view source on GitHub ↗

WithEncoderCRC will add CRC value to output. Output will be 4 bytes larger. Can be changed with ResetWithOptions.

(b bool)

Source from the content-addressed store, hash-verified

76// Output will be 4 bytes larger.
77// Can be changed with ResetWithOptions.
78func WithEncoderCRC(b bool) EOption {
79 return func(o *encoderOptions) error { o.crc = b; return nil }
80}
81
82// WithEncoderConcurrency will set the concurrency,
83// meaning the maximum number of encoders to run concurrently.

Callers 8

ExampleZipCompressorFunction · 0.92
FuzzEncodingFunction · 0.85
getConcBlockOptsFunction · 0.85
getEncOptsFunction · 0.85
TestWithEncoderPaddingFunction · 0.85

Calls

no outgoing calls

Tested by 8

ExampleZipCompressorFunction · 0.74
FuzzEncodingFunction · 0.68
getConcBlockOptsFunction · 0.68
getEncOptsFunction · 0.68
TestWithEncoderPaddingFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…