Пример #1
0
 public override void Write(IWriteContext context, object obj)
 {
     context.WriteLong(Platform4.DoubleToLong(((double)obj)));
 }
Пример #2
0
 public override void Write(object a_object, ByteArrayBuffer a_bytes)
 {
     a_bytes.WriteLong(Platform4.DoubleToLong(((double)a_object)));
 }