public static interface IO.WritableByteStream extends IO
IO.KnownSize, IO.OperationType, IO.OutputToInput, IO.PositionKnown, IO.Readable, IO.ReadableByteStream, IO.Resizable, IO.Seekable, IO.Writable, IO.WritableByteStream, IO.WriterAsync
CloseableListenable.Impl
Modifier and Type | Method and Description |
---|---|
ISynchronizationPoint<IOException> |
canStartWriting()
Return a synchronization point that is unblocked when data is ready to be written.
|
void |
write(byte b)
Write a byte.
|
default void |
write(byte[] buffer)
Write bytes from the given buffer.
|
void |
write(byte[] buffer,
int offset,
int length)
Write bytes from the given buffer.
|
error, getPriority, getSourceDescription, getTaskManager, getWrappedIO, setPriority
lockClose, unlockClose
close
closeAsync
addCloseListener, addCloseListener, close, isClosed, removeCloseListener, removeCloseListener
void write(byte b) throws IOException
IOException
void write(byte[] buffer, int offset, int length) throws IOException
IOException
default void write(byte[] buffer) throws IOException
IOException
ISynchronizationPoint<IOException> canStartWriting()
Copyright © 2018. All rights reserved.