public double ReadDouble() { SkipWhiteSpace(); var v = StringToDoubleConverter.ToDouble(_bytes, _offset, out var readCount); if (readCount == 0) { throw CreateParsingException("Number Token"); } _offset += readCount; return(v); }
public static double ReadDouble(byte[] bytes, int offset, out int readCount) => StringToDoubleConverter.ToDouble(bytes, offset, out readCount);
public static float ReadSingle(byte[] bytes, int offset, out int readCount) => StringToDoubleConverter.ToSingle(bytes, offset, out readCount);