버퍼 사이즈 리턴 안하는 버그 수정
This commit is contained in:
@ -89,6 +89,7 @@ func (b *stringSliceReader) Read(p []byte) (n int, err error) {
|
|||||||
copy(p, sbt)
|
copy(p, sbt)
|
||||||
p = p[len(sbt):]
|
p = p[len(sbt):]
|
||||||
b.pointer++
|
b.pointer++
|
||||||
|
n += len(sbt)
|
||||||
err = nil
|
err = nil
|
||||||
}
|
}
|
||||||
err = io.EOF
|
err = io.EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user