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.WriterAsyncCloseableListenable.Impl| Modifier and Type | Method and Description |
|---|---|
IAsync<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.
|
cancelClosed, error, errorCancelled, getPriority, getSourceDescription, getTaskManager, getWrappedIO, setPrioritylockClose, unlockCloseclosecloseAfter, closeAsyncaddCloseListener, addCloseListener, close, isClosed, removeCloseListener, removeCloseListenervoid write(byte b)
throws IOException
IOExceptionvoid write(byte[] buffer,
int offset,
int length)
throws IOException
IOExceptiondefault void write(byte[] buffer)
throws IOException
IOExceptionIAsync<IOException> canStartWriting()
Copyright © 2019. All rights reserved.