<commit_before>//
// Created by Александр on 09.12.17.
//

#include <QIODevice>
#include <QDataStream>
#include "DiffieHellmanCmd.h"
QByteArray* DiffieHellmanCmd::req(QByteArray* block) {
    QDataStream out(block, QIODevice::WriteOnly);
    out << "test";
    return block;
}
bool DiffieHellmanCmd::res(QByteArray &array, QQueue<Command*> *queue) {
    return false;
}<commit_msg>QDataStream issues, in this case server reads data successfull<commit_after>//
// Created by Александр on 09.12.17.
//

#include <QIODevice>
#include <QDataStream>
#include "DiffieHellmanCmd.h"
QByteArray* DiffieHellmanCmd::req(QByteArray* block) {
//    QDataStream out(block, QIODevice::WriteOnly);
    block->clear();
    block->append("test");
//    out << "tttt";
    return block;
}
bool DiffieHellmanCmd::res(QByteArray &array, QQueue<Command*> *queue) {
    return false;
}
{'fraction_non_alphanumeric': 0.14733178654292342, 'fraction_numerical': 0.013921113689095127, 'mean_word_length': 4.791946308724833, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6418837', 'n_tokens_mistral': 322, 'n_tokens_neox': 312, 'n_words': 68}