bytebufferpool icon indicating copy to clipboard operation
bytebufferpool copied to clipboard

*bytebufferpool.ByteBuffer does not implement io.Reader (missing Read method)

Open delfer opened this issue 6 years ago • 3 comments

It would be more useful to implement Read method like 'bytes.Buffer'

delfer avatar Jan 28 '19 14:01 delfer

i think there is a serious race detection by having this library when using message bytes serialization

jjhesk avatar Feb 23 '19 06:02 jjhesk

I don't quite understand what @jjhesk actually is trying to say, but I was coming here to ask for the same thing as asked by @delfer.

suntong avatar Aug 09 '20 13:08 suntong

Hi, I wonder, is there a specific reason to not implement io.Reader on *bytebufferpool.ByteBuffer? Or is a PR welcome?

nanmu42 avatar May 07 '21 10:05 nanmu42