示例#1
0
 public override byte[] ToBytes() => ByteHelpers.Combine(new byte[] { Version.ToByte(), MessageType.ToByte() }, MessageId.ToBytes(), Purpose.ToBytes(startsWithLength: true), Content.ToBytes(startsWithLength: true));