class ByteUtil {

    public static boolean isInteger(final byte[] asciiBuffer, final int offset, final int length)
    {
        for (int i = 0; i < length; i++)
        {
            if (!isAsciiDigit(asciiBuffer[offset + i]))
            {
                return false;
            }
        }

        return true;
    }

}