Track BufferIterator changes in libcore
Addition of a new method pos(). Bug: 31008728 Test: make Change-Id: Id5fcb13104a8580ffaa7d4f8d3c473fe14ac5ccd
This commit is contained in:
@@ -39,6 +39,11 @@ public class BridgeBufferIterator extends BufferIterator {
|
||||
mByteBuffer.position(offset);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int pos() {
|
||||
return mByteBuffer.position();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void skip(int byteCount) {
|
||||
int newPosition = mByteBuffer.position() + byteCount;
|
||||
|
||||
Reference in New Issue
Block a user