This method of the IntArrayOutputStream Class copies the contents of the output stream into an array of integers.
public synchronized int copyInto(int[] dest);
Returns the number of elements copied.
dest | The destination array that the output stream is copied into. |