Example #1
0
 public static void Save(IValueSink sink, VTSession value)
 {
     sink.EnterSequence();
     Value<byte>.Save(sink, value.LocalVtSessionID);
     Value<byte>.Save(sink, value.RemoteVtSessionID);
     Value<NetworkAddress>.Save(sink, value.RemoteVtAddress);
     sink.LeaveSequence();
 }
Example #2
0
        public static void Save(IValueSink sink, VTSession value)
        {
            sink.EnterSequence();
            Value <byte> .Save(sink, value.LocalVtSessionID);

            Value <byte> .Save(sink, value.RemoteVtSessionID);

            Value <NetworkAddress> .Save(sink, value.RemoteVtAddress);

            sink.LeaveSequence();
        }