HomePhabricator

Make streams' read and write return void

Description

Make streams' read and write return void

The stream implementations had two cascading layers (the upper one
with operator<< and operator>>, and a lower one with read and write).
The lower layer's functions are never cascaded (nor should they, as
they should only be used from the higher layer), so make them return
void instead.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Oct 29 2016, 04:55
deadalnixPushed on May 14 2017, 22:04
Parents
rABC50e8a9ccd78c: Remove unused ReadVersion and WriteVersion
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABCc2c5d42f36f4: Make streams' read and write return void (authored by Pieter Wuille <pieter.wuille@gmail.com>).Nov 7 2016, 17:39