public interface Writable
Modifier and Type | Method and Description |
---|---|
int |
writableLength()
Get the number of bytes that will be required to write itself out.
|
void |
write(OutputStream os)
Writes itself out onto the specified output stream.
|
int writableLength()
void write(OutputStream os) throws IOException
os
- output stream which the object is to write itselfIOException
- if any IO error occurs while writing to outputCopyright © 2015. All Rights Reserved.