Class NumberParser
java.lang.Object
io.protostuff.NumberParser
An IO utility for dealing with raw ascii bytes.
- Author:
- David Yu
-
Method Summary
-
Method Details
-
parseInt
public static int parseInt(byte[] buffer, int start, int length, int radix) throws NumberFormatException Parse an ascii int from a raw buffer.- Throws:
NumberFormatException
-
parseLong
public static long parseLong(byte[] buffer, int start, int length, int radix) throws NumberFormatException Parse an ascii long from a raw buffer.- Throws:
NumberFormatException
-