aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/snappy/decode.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/golang/snappy/decode.go')
-rw-r--r--vendor/github.com/golang/snappy/decode.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/vendor/github.com/golang/snappy/decode.go b/vendor/github.com/golang/snappy/decode.go
index f1e04b1..72efb03 100644
--- a/vendor/github.com/golang/snappy/decode.go
+++ b/vendor/github.com/golang/snappy/decode.go
@@ -52,8 +52,6 @@ const (
// Otherwise, a newly allocated slice will be returned.
//
// The dst and src must not overlap. It is valid to pass a nil dst.
-//
-// Decode handles the Snappy block format, not the Snappy stream format.
func Decode(dst, src []byte) ([]byte, error) {
dLen, s, err := decodedLen(src)
if err != nil {
@@ -85,8 +83,6 @@ func NewReader(r io.Reader) *Reader {
}
// Reader is an io.Reader that can read Snappy-compressed bytes.
-//
-// Reader handles the Snappy stream format, not the Snappy block format.
type Reader struct {
r io.Reader
err error