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.java804 private int currentPieceIndex; field in RopeInputStream
855 int currentPieceRemaining = currentPieceSize - currentPieceIndex; in readSkipInternal()
858 currentPiece.copyTo(b, currentPieceIndex, offset, count); in readSkipInternal()
861 currentPieceIndex += count; in readSkipInternal()
875 return currentPiece.byteAt(currentPieceIndex++) & 0xFF; in read()
881 int bytesRead = currentPieceOffsetInRope + currentPieceIndex; in available()
893 mark = currentPieceOffsetInRope + currentPieceIndex; in mark()
908 currentPieceIndex = 0; in initialize()
917 if (currentPiece != null && currentPieceIndex == currentPieceSize) { in advanceIfCurrentPieceFullyRead()
921 currentPieceIndex = 0; in advanceIfCurrentPieceFullyRead()