Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java270 ByteString byteString = ByteString.readFrom(new ReluctantStream(data)); in testReadFrom_reluctantStream()
288 ByteString b = ByteString.readFrom(new ReluctantStream(bytes), chunkSize); in assertReadFromReluctantStream()
320 private static class ReluctantStream extends InputStream { class in ByteStringTest
324 public ReluctantStream(byte[] data) { in ReluctantStream() method in ByteStringTest.ReluctantStream
352 private static final class AvailableStream extends ReluctantStream {