public interface IWriter extends IByteWriter
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] bytes,
int offset,
int length)
Writes a portion of a byte array to the data source.
|
writevoid write(byte[] bytes,
int offset,
int length)
bytes - A byte array containing the data to write.offset - A zero-based index showing where the desired portion of bytes begins.length - The number of elements in the desired portion of bytes
(but not more than bytes 's length).NullPointerException - Should be thrown if the parameter
"bytes" is null.IllegalArgumentException - Should be thrown if either "offset" or
"length" is less than 0 or greater than "bytes" 's length, or "bytes"
's length minus "offset" is less than "length".Encoding for Java documentation, generated in 2017.