// Code generated by depstubber. DO NOT EDIT.
// This is a simple stub for github.com/klauspost/compress/zstd, strictly for use in testing.

// See the LICENSE file for information about the licensing of the original library.
// Source: github.com/klauspost/compress/zstd (exports: Decoder; functions: NewReader)

// Package zstd is a stub of github.com/klauspost/compress/zstd, generated by depstubber.
package zstd

import (
	io "io"
)

type DOption func(interface{}) error

type Decoder struct{}

func (_ *Decoder) Close() {}

func (_ *Decoder) DecodeAll(_ []byte, _ []byte) ([]byte, error) {
	return nil, nil
}

func (_ *Decoder) IOReadCloser() io.ReadCloser {
	return nil
}

func (_ *Decoder) Read(_ []byte) (int, error) {
	return 0, nil
}

func (_ *Decoder) Reset(_ io.Reader) error {
	return nil
}

func (_ *Decoder) WriteTo(_ io.Writer) (int64, error) {
	return 0, nil
}

func NewReader(_ io.Reader, _ ...DOption) (*Decoder, error) {
	return nil, nil
}
