Writes a byte array to the stream. @param b The array to write. @param off The offset of the array to start copying data from. @param len The number of bytes to write.
(byte [] b, int off, int len)
| 160 | * @param len The number of bytes to write. |
| 161 | */ |
| 162 | public void |
| 163 | writeByteArray(byte [] b, int off, int len) { |
| 164 | need(len); |
| 165 | System.arraycopy(b, off, array, pos, len); |
| 166 | pos += len; |
| 167 | } |
| 168 | |
| 169 | /** |
| 170 | * Writes a byte array to the stream. |
no test coverage detected