public override byte[] GetBytes() {
base._length=7;
byte[] buf=base.GetBytes();
int ptr=2;
buf[ptr++]=(byte)(TopicId>>8);
buf[ptr++]=(byte)(TopicId);
buf[ptr++]=(byte)(MessageId>>8);
buf[ptr++]=(byte)(MessageId);
buf[ptr]=(byte)retCode;
return buf;
}
public readonly ushort TopicId;