type github.com/klauspost/compress/zstd.DOption
16 uses
github.com/klauspost/compress/zstd (current package)
decoder.go#L84: func NewReader(r io.Reader, opts ...DOption) (*Decoder, error) {
decoder.go#L240: func (d *Decoder) ResetWithOptions(r io.Reader, opts ...DOption) error {
decoder_options.go#L15: type DOption func(*decoderOptions) error
decoder_options.go#L47: func WithDecoderLowmem(b bool) DOption {
decoder_options.go#L68: func WithDecoderConcurrency(n int) DOption {
decoder_options.go#L90: func WithDecoderMaxMemory(n uint64) DOption {
decoder_options.go#L112: func WithDecoderDicts(dicts ...[]byte) DOption {
decoder_options.go#L131: func WithDecoderDictRaw(id uint32, content []byte) DOption {
decoder_options.go#L150: func WithDecoderMaxWindow(size uint64) DOption {
decoder_options.go#L168: func WithDecodeAllCapLimit(b bool) DOption {
decoder_options.go#L181: func WithDecodeBuffersBelow(size int) DOption {
decoder_options.go#L193: func IgnoreChecksum(b bool) DOption {
decoder_options.go#L203: func WithDecoderDictDelete(ids ...uint32) DOption {
zip.go#L31: func newZipReader(opts ...DOption) func(r io.Reader) io.ReadCloser {
zip.go#L34: opts = append([]DOption{WithDecoderLowmem(true), WithDecoderMaxWindow(128 << 20)}, opts...)
zip.go#L139: func ZipDecompressor(opts ...DOption) func(r io.Reader) io.ReadCloser {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |