Add ReadFully and WriteFully to libbase.

Change-Id: I6b7aa2a93398e7acdd1d74c71d9abed08a72b3c4
3 files changed