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);
     }
 }
Exemplo n.º 2
0
 public void Serialize(Stream stream)
 {
     ChannelInfo.Serialize(stream, this);
 }