Пример #1
0
 public override void Write(BinSerializer bs, object obj)
 {
     VariantHelper.WriteInt64((long)obj, bs.Stream);
 }
Пример #2
0
 public void Write(BinSerializer bs, DateTime instance)
 {
     VariantHelper.WriteInt64(instance.ToUniversalTime().Ticks, bs.Stream);
 }
Пример #3
0
 public void Write(BinSerializer bs, long obj)
 {
     VariantHelper.WriteInt64(obj, bs.Stream);
 }
Пример #4
0
 public override void Write(BinSerializer bs, object instance)
 {
     VariantHelper.WriteInt64(((DateTime)instance).ToUniversalTime().Ticks, bs.Stream);
 }