Merge "Track BufferIterator changes in libcore"
This commit is contained in:
@@ -39,6 +39,11 @@ public class BridgeBufferIterator extends BufferIterator {
|
|||||||
mByteBuffer.position(offset);
|
mByteBuffer.position(offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int pos() {
|
||||||
|
return mByteBuffer.position();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void skip(int byteCount) {
|
public void skip(int byteCount) {
|
||||||
int newPosition = mByteBuffer.position() + byteCount;
|
int newPosition = mByteBuffer.position() + byteCount;
|
||||||
|
|||||||
Reference in New Issue
Block a user