示例#1
0
 public void Read(out double value)
 {
     Read(out long v);
     value = new DoubleConverter {
         AsInt64 = v
     }.AsDouble;
 }
示例#2
0
        public bool TryRead(out double value)
        {
            if (TryRead(out long v))
            {
                value = new DoubleConverter {
                    AsInt64 = v
                }.AsDouble;
                return(true);
            }

            value = default;
            return(false);
        }