public final void setCommandDescriptorBlock (final ByteBuffer newCDB) {

        if (newCDB.limit() - newCDB.position() > CDB_SIZE) { throw new IllegalArgumentException("Buffer cannot be longer than 16 bytes, because AHS-support is not implemented."); }
        commandDescriptorBlock = newCDB;
    }
public final void setCommandDescriptorBlock ( final ByteBuffer newCDB ) { if ( newCDB . limit ( ) - newCDB . position ( ) > CDB_SIZE ) { throw new IllegalArgumentException ( "Buffer cannot be longer than 16 bytes, because AHS-support is not implemented." ) ; } commandDescriptorBlock = newCDB ; }
Sets the new Command Descriptor Block.

@param newCDB The new Command Descriptor Block.