java.lang.Object
org.jvnet.mimepull.ASCIIUtility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
parseInt
(byte[] b, int start, int end, int radix) Convert the bytes within the specified range of the given byte array into a signed integer in the given radix .static String
toString
(byte[] b, int start, int end) Convert the bytes within the specified range of the given byte array into a String.
-
Constructor Details
-
ASCIIUtility
private ASCIIUtility()
-
-
Method Details
-
parseInt
Convert the bytes within the specified range of the given byte array into a signed integer in the given radix . The range extends fromstart
till, but not includingend
.Based on java.lang.Integer.parseInt()
- Throws:
NumberFormatException
-
toString
Convert the bytes within the specified range of the given byte array into a String. The range extends fromstart
till, but not includingend
.
-