commit | 716d569273ef2aeacfe7555f60f7784b2366225d | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Mon May 09 16:43:34 2016 -0700 |
committer | Sen Jiang <senj@google.com> | Thu Feb 02 14:42:45 2017 -0800 |
tree | be33f4bfa1310cb51e9840a3406acd1f4e79e2ac | |
parent | 02416b52d7890edace797b5bc6902d61601a30b5 [diff] |
Provide interface for in memory bspatch. Renamed existing MemoryFile to BufferFile, and added a read only MemoryFile to provide file interface to read file data already in memory without extra copy (extra memory usage). Added write only SinkFile to provide sink function support used in applypatch. It will enable imgpatch the ability to stream output. Test: mma Bug: 26982501 Change-Id: I025ce4064c9f46623dd73f24d30e21e88f08a292