Package org.capnproto
Class PackedOutputStream
- java.lang.Object
-
- org.capnproto.PackedOutputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,WritableByteChannel
public final class PackedOutputStream extends Object implements WritableByteChannel
-
-
Constructor Summary
Constructors Constructor Description PackedOutputStream(BufferedOutputStream output)
-
-
-
Constructor Detail
-
PackedOutputStream
public PackedOutputStream(BufferedOutputStream output)
-
-
Method Detail
-
write
public int write(ByteBuffer inBuf) throws IOException
- Specified by:
writein interfaceWritableByteChannel- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-