picloud
This commit is contained in:
@@ -19,10 +19,24 @@
|
||||
|
||||
#include "picloudtcp.h"
|
||||
#include "picrypt.h"
|
||||
#include "pichunkstream.h"
|
||||
|
||||
|
||||
const char hash_def_key[] = "_picrypt_";
|
||||
|
||||
|
||||
PIByteArray & operator <<(PIByteArray & s, const PICloud::Header & v) {
|
||||
s << v.version << v.type << v.sname;
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
PIByteArray & operator >>(PIByteArray & s, PICloud::Header & v) {
|
||||
s >> v.version >> v.type >> v.sname;
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
PICloudTCP::PICloudTCP() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user