Fix dummy trasformer

This commit is contained in:
nxshock 2024-03-10 12:45:02 +05:00
parent ffd232ad61
commit 677f5047a9

View File

@ -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() {}