public void write ( final byte [ ] src , int off , int len ) { if ( src == null ) throw new NullPointerException ( ) ; if ( ( off < 0 ) || ( off > src . length ) || ( len < 0 ) || ( ( off + len ) > src . length ) || ( ( off + len ) < 0 ) ) throw new IndexOutOfBoundsException ( ) ; writeLoop ( src , off , len ) ; }
Copies len bytes starting at position off from the array src to the internal buffer .