Package io.protostuff

Class NumberParser

java.lang.Object
io.protostuff.NumberParser

public final class NumberParser extends Object
An IO utility for dealing with raw ascii bytes.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    parseInt(byte[] buffer, int start, int length, int radix)
    Parse an ascii int from a raw buffer.
    (package private) static int
    parseInt(byte[] buffer, int start, int length, int radix, boolean positive)
     
    static long
    parseLong(byte[] buffer, int start, int length, int radix)
    Parse an ascii long from a raw buffer.
    (package private) static long
    parseLong(byte[] buffer, int start, int length, int radix, boolean positive)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait