diff --git a/encodings.go b/encodings.go index fbaac61..b1ba29b 100644 --- a/encodings.go +++ b/encodings.go @@ -30,6 +30,7 @@ type DummyTransformer struct{} func (e *DummyTransformer) Transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error) { copy(dst, src) - return len(dst), len(src), nil + return len(src), len(src), nil } + func (e *DummyTransformer) Reset() {}