Invalid number of bytes written reported
mikegleasonjr opened this issue · 3 comments
mikegleasonjr commented
When I have a buffer of a known length and try to write to the gzip handler, I get more bytes written than I originally sent. It think the latest commit is causing that.
b := f.buf[f.off:]
l := len(b) // l is 104870
n, err := w.Write(b) // w is my gziphandler (writer)
// n is 105079
mikegleasonjr commented
Oh wow sorry I was 1 commit behind, didn't notice you did another commit after #41 👍
adammck commented
No problem, sorry about all the fuss.