Example #1
0
 public System.Double ReadDouble()
 {
     SkipWhiteSpace();
     int readCount;
     var v = StringToDoubleConverter.ToDouble(bytes, offset, out readCount);
     if (readCount == 0)
     {
         throw CreateParsingException("Number Token");
     }
     offset += readCount;
     return v;
 }
Example #2
0
 public static double ReadDouble(byte[] bytes, int offset, out int readCount)
 {
     return(StringToDoubleConverter.ToDouble(bytes, offset, out readCount));
 }