Deduplicate Reader::read/Writer::write implementations with free read/write which use Reader::readSome/Writer::writeSome
read/write success means exactly size bytes were read/write.
So callbacks don't need outcome<size>.
This prevents redundant size checks in callbacks.
Callbacks will capture buffer size if they need it.
Fix yamux writeSome (can't writeSome/split already encoded frame with length in header)
Reader::read
/Writer::write
implementations with freeread
/write
which useReader::readSome
/Writer::writeSome
read
/write
success means exactlysize
bytes were read/write. So callbacks don't needoutcome<size>
. This prevents redundant size checks in callbacks. Callbacks will capture buffer size if they need it.writeSome
(can'twriteSome
/split already encoded frame with length in header)