Code example for ByteArrayOutputStream

Methods: writeTo

0
 
    /** 
     * Writes the content of the ByteArrayOutputStream into the OutputStream. 
     */ 
    public void writeTo(OutputStream target) throws IOException {
        this.data.writeTo(target);
    } 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java