public class NumberParser
extends java.lang.Object
| Constructor and Description |
|---|
NumberParser() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getFastLong(byte[] bytes,
long minVal,
long maxVal)
Optimised byte[] to number parser.
|
public static long getFastLong(byte[] bytes,
long minVal,
long maxVal)
throws java.lang.NumberFormatException
bytes - integer represented as a sequence of ASCII bytesjava.lang.NumberFormatException - If the number is invalid or the out of range for fast parsing.
The value must then be parsed by another (less optimised) method.Copyright © 2025 PostgreSQL Global Development Group. All rights reserved.