public class ByteBufInputStream extends InputStream implements io.grpc.Drainable, io.grpc.KnownLength
Drainable InputStream that reads an ByteBuf.| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
drainTo(OutputStream target) |
int |
read() |
close, mark, markSupported, read, read, reset, skippublic int drainTo(OutputStream target) throws IOException
drainTo in interface io.grpc.DrainableIOExceptionpublic int available()
throws IOException
available in interface io.grpc.KnownLengthavailable in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOException