This class is the RopeByteString equivalent for ByteArrayInputStream.
Definition at line 796 of file RopeByteString.java.
◆ RopeInputStream()
com.google.protobuf.RopeByteString.RopeInputStream.RopeInputStream |
( |
| ) |
|
|
inline |
◆ advanceIfCurrentPieceFullyRead()
void com.google.protobuf.RopeByteString.RopeInputStream.advanceIfCurrentPieceFullyRead |
( |
| ) |
|
|
inlineprivate |
Skips to the next piece if we have read all the data in the current piece. Sets currentPiece to null if we have reached the end of the input.
Definition at line 916 of file RopeByteString.java.
◆ available()
int com.google.protobuf.RopeByteString.RopeInputStream.available |
( |
| ) |
throws IOException |
|
inline |
◆ initialize()
void com.google.protobuf.RopeByteString.RopeInputStream.initialize |
( |
| ) |
|
|
inlineprivate |
◆ mark()
void com.google.protobuf.RopeByteString.RopeInputStream.mark |
( |
int |
readAheadLimit | ) |
|
|
inline |
◆ markSupported()
boolean com.google.protobuf.RopeByteString.RopeInputStream.markSupported |
( |
| ) |
|
|
inline |
◆ read() [1/2]
int com.google.protobuf.RopeByteString.RopeInputStream.read |
( |
| ) |
throws IOException |
|
inline |
◆ read() [2/2]
int com.google.protobuf.RopeByteString.RopeInputStream.read |
( |
byte[] |
b, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
| |
|
inline |
◆ readSkipInternal()
int com.google.protobuf.RopeByteString.RopeInputStream.readSkipInternal |
( |
byte[] |
b, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
| |
|
inlineprivate |
Internal implementation of read and skip. If b != null, then read the next
bytes into the buffer
at offset
. If b == null, then skip the next
bytes.
This method assumes that all error checking has already happened.
Returns the actual number of bytes read or skipped.
Definition at line 843 of file RopeByteString.java.
◆ reset()
synchronized void com.google.protobuf.RopeByteString.RopeInputStream.reset |
( |
| ) |
|
|
inline |
◆ skip()
long com.google.protobuf.RopeByteString.RopeInputStream.skip |
( |
long |
length | ) |
|
|
inline |
◆ currentPiece
LeafByteString com.google.protobuf.RopeByteString.RopeInputStream.currentPiece |
|
private |
◆ currentPieceIndex
int com.google.protobuf.RopeByteString.RopeInputStream.currentPieceIndex |
|
private |
◆ currentPieceOffsetInRope
int com.google.protobuf.RopeByteString.RopeInputStream.currentPieceOffsetInRope |
|
private |
◆ currentPieceSize
int com.google.protobuf.RopeByteString.RopeInputStream.currentPieceSize |
|
private |
◆ mark
int com.google.protobuf.RopeByteString.RopeInputStream.mark |
|
private |
◆ pieceIterator
PieceIterator com.google.protobuf.RopeByteString.RopeInputStream.pieceIterator |
|
private |
The documentation for this class was generated from the following file: