public void
    writeBytes(byte[] bytes, int len)
            throws IOException
    {
        outputBytes(bytes, 0, len);
        if(this.checksummode.enabled(ChecksumMode.DAP)) {
            this.checksum.update(bytes, 0, len);
            if(DUMPCSUM) {
                System.err.print("SSS ");
                for(int i = 0; i < len; i++) {
                    System.err.printf("%02x", bytes[i]);
                }
                System.err.println();
            }
        }
    }
public void writeBytes ( byte [ ] bytes , int len ) throws IOException { outputBytes ( bytes , 0 , len ) ; if ( this . checksummode . enabled ( ChecksumMode . DAP ) ) { this . checksum . update ( bytes , 0 , len ) ; if ( DUMPCSUM ) { System . err . print ( "SSS " ) ; for ( int i = 0 ; i < len ; i ++ ) { System . err . printf ( "%02x" , bytes [ i ] ) ; } System . err . println ( ) ; } } }
Write out a set of bytes

@param bytes
@param len
@throws IOException