public void put ( byte [ ] bytes , int start , int end ) { byte [ ] buffer = chunk ( ) ; for ( int i = start ; i < end ; i ++ ) { if ( position == buffer . length ) { buffer = alloc ( ) ; } buffer [ position ++ ] = bytes [ i ] ; size ++ ; } }
Writes a range of bytes from the specified array .