137226a921d0f50c9e8a9f3ae43a3459b48d18a1 |
|
08-May-2015 |
Jeff Davidson <jpd@google.com> |
Add a flag to use offset/length with byte arrays. This is an advanced option that most users won't want/need. However, it can greatly optimize flows where we want to reuse byte[] buffers from other locations without having to first copy the contents into a new array of the exact correct size. Bug: 20636336 Change-Id: Ia8d0af82e952858f9571f84110da621da776619c
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/CodedInputByteBufferNano.java
|