Beispiel #1
0
 void DurOp::serialize(AlignedBuilder& ab) {
     ab.appendNum(_opcode);
     _serialize(ab);
 }
Beispiel #2
0
 void DropDbOp::_serialize(AlignedBuilder& ab) {
     ab.appendNum((unsigned long long) 0); // reserved for future use
     ab.appendNum((unsigned long long) 0); // reserved for future use
     ab.appendStr(_db);
     ab.appendStr(""); // reserved
 }
Beispiel #3
0
 void FileCreatedOp::_serialize(AlignedBuilder& ab) {
     ab.appendNum((unsigned long long) 0); // reserved for future use
     ab.appendNum((unsigned long long) 0); // reserved for future use
     ab.appendNum(_len);
     ab.appendStr(_p.toString());
 }