public static void Serialize(Stream stream, GetChannelInfoResponse instance)
 {
     if (instance.HasChannelInfo)
     {
         stream.WriteByte(10);
         ProtocolParser.WriteUInt32(stream, instance.ChannelInfo.GetSerializedSize());
         ChannelInfo.Serialize(stream, instance.ChannelInfo);
     }
 }
Esempio n. 2
0
 public void Serialize(Stream stream)
 {
     ChannelInfo.Serialize(stream, this);
 }