Package org.capnproto
Class PackedInputStream
- java.lang.Object
-
- org.capnproto.PackedInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,ReadableByteChannel
public final class PackedInputStream extends Object implements ReadableByteChannel
-
-
Constructor Summary
Constructors Constructor Description PackedInputStream(BufferedInputStream input)
-
-
-
Constructor Detail
-
PackedInputStream
public PackedInputStream(BufferedInputStream input)
-
-
Method Detail
-
read
public int read(ByteBuffer outBuf) throws IOException
- Specified by:
readin interfaceReadableByteChannel- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-