src/irc.cpp
void chat_message::encode_header() {
    char header[header_length + 1] = "";
    std::sprintf(header, "%4d", static_cast<int>(body_length_));
    std::memcpy(data_, header, header_length);
}
// Unused function providing a way to create a message header (in current state it adds message length at the beggining)
Unused function providing a way to create a message header (in current state it adds message length at the beggining)
Unused function providing a way to create a message header ( in current state it adds message length at the beggining )
void chat_message::encode_header() {
    char header[header_length + 1] = "";
    std::sprintf(header, "%4d", static_cast<int>(body_length_));
    std::memcpy(data_, header, header_length);
}
void chat_message :: encode_header ( ) { char header [ header_length + 1 ] = " " ; std :: sprintf ( header , " " , static_cast < int > ( body_length_ ) ) ; std :: memcpy ( data_ , header , header_length ) ; }
Unused function providing a way to create a message header (in current state it adds message length at the beggining)
Unused function providing a way to create a message header ( in current state it adds message length at the beggining )