Searched refs:ReluctantStream (Results 1 – 1 of 1) sorted by relevance
270 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 ByteStringTest324 public ReluctantStream(byte[] data) { in ReluctantStream() method in ByteStringTest.ReluctantStream352 private static final class AvailableStream extends ReluctantStream {