commit | b02eefacbff102e2ced7fb98cfdd59afbcd810aa | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Mon Jun 06 11:12:50 2016 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Mon Jun 06 11:17:03 2016 -0700 |
tree | 6c6ae71cc6f5e077035a66b7a999183e26d53cf5 | |
parent | 4b33f510436f88774f5217b472835973fd8d5b2b [diff] |
Improve efficiency of using the DataSource abstraction. This adds getByteBuffer and copyTo methods to the DataSource abstraction. These methods enable the client to avoid unnecessary copying of the data source's data. Bug: 27461702 Change-Id: If4e9f902ea75c1ca5c7be0e20c0e7218faf9c504