add commet and remove compile warn

This commit is contained in:
xiongguangjie
2022-06-04 10:11:28 +08:00
parent 7f65e082f5
commit 6237dd48dc
2 changed files with 17 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ bool DataPacket::storeToHeader(){
storeUint32(ptr, dst_socket_id);
ptr += 4;
return true;
}
bool DataPacket::storeToData(uint8_t *buf, size_t len) {
_data = BufferRaw::create();