Also use ReadFully to replace read, because read can return reading bytes less than requested. And use WriteFully to replace write. Bug: 26962895 Change-Id: Iff0b2bc6d925619a537f7fef682c2a7ad89a2dc2
It is a function needed in different places like uncrypt, simpleperf. Bug: 26883096 Change-Id: I26f4f30e8367867a88272625f00858569fc8e950
Bug: http://b/26023797 Change-Id: Ie6c63bf86bed05faab87d290de6f34d9af3532a8