/* */ #include "BtKeepAliveMessage.h" namespace aria2 { int32_t BtKeepAliveMessage::MESSAGE_LENGTH = 4; const unsigned char* BtKeepAliveMessage::getMessage() { if(!msg) { /** * len --- 0, 4bytes * total: 4bytes */ msg = new unsigned char[MESSAGE_LENGTH]; memset(msg, 0, MESSAGE_LENGTH); } return msg; } int32_t BtKeepAliveMessage::getMessageLength() { return MESSAGE_LENGTH; } } // namespace aria2