Home
last modified time | relevance | path

Searched refs:currentPieceIndex (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java766 private int currentPieceIndex; field in RopeByteString.RopeInputStream
818 int currentPieceRemaining = currentPieceSize - currentPieceIndex; in readSkipInternal()
821 currentPiece.copyTo(b, currentPieceIndex, offset, count); in readSkipInternal()
824 currentPieceIndex += count; in readSkipInternal()
838 return currentPiece.byteAt(currentPieceIndex++) & 0xFF; in read()
844 int bytesRead = currentPieceOffsetInRope + currentPieceIndex; in available()
856 mark = currentPieceOffsetInRope + currentPieceIndex; in mark()
871 currentPieceIndex = 0; in initialize()
881 if (currentPiece != null && currentPieceIndex == currentPieceSize) { in advanceIfCurrentPieceFullyRead()
885 currentPieceIndex = 0; in advanceIfCurrentPieceFullyRead()