DeleteMessage constructor
Implementation
DeleteMessage(Uint8List bytes,Encoding encoding) {
final reader = ByteDataReader()..add(bytes);
relationID = reader.readUint32();
oldTupleType = DeleteMessageTuple.fromByte(reader.readUint8());
switch (oldTupleType) {
case DeleteMessageTuple.keyType:
case DeleteMessageTuple.oldType:
oldTuple = TupleData(reader,encoding);
break;
default:
throw Exception('Unknown tuple type for DeleteMessage');
}
}