class ByteArray.InternalOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
ByteArray.InternalOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the stream
Parent documentation: |
void |
flush()
Flush last changes
Parent documentation: |
void |
write(byte[] b)
Write an array of bytes.
|
void |
write(byte[] b,
int off,
int len)
Write a part off an array of bytes
Parent documentation: |
void |
write(int b)
Write one byte
Parent documentation: |
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOException - On closing issueOutputStream.close()public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException - On flushing issueOutputStream.flush()public void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamb - Array to writejava.io.IOException - On writing issueOutputStream.write(byte[])public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamb - Array to writeoff - Offset where start read the arraylen - Number of bytes to writejava.io.IOException - on writing issueOutputStream.write(byte[], int, int)public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamb - Byte to writejava.io.IOException - On writing issueOutputStream.write(int)