public override void Write(BinSerializer bs, object obj) { VariantHelper.WriteInt64((long)obj, bs.Stream); }
public void Write(BinSerializer bs, DateTime instance) { VariantHelper.WriteInt64(instance.ToUniversalTime().Ticks, bs.Stream); }
public void Write(BinSerializer bs, long obj) { VariantHelper.WriteInt64(obj, bs.Stream); }
public override void Write(BinSerializer bs, object instance) { VariantHelper.WriteInt64(((DateTime)instance).ToUniversalTime().Ticks, bs.Stream); }