net.metanotion.io
Interface OutputStream
- All Superinterfaces:
- Closeable, Flushable
- All Known Subinterfaces:
- RandomAccess
- All Known Implementing Classes:
- ByteCordRandomAccess, JOutputStream, JRandomAccess
public interface OutputStream
- extends Closeable, Flushable
Methods to be implemented by a stream suitable for writing bytes.
write
void write(byte[] b)
write
void write(byte[] b,
int offset,
int length)
write
void write(byte b)
close
void close()
- Specified by:
close in interface Closeable
flush
void flush()
- Specified by:
flush in interface Flushable
length
long length()
setLength
long setLength(long newLength)