[New] Added AsciiHelper
This commit is contained in:
parent
52a04f0c33
commit
c7484934a5
|
@ -226,6 +226,16 @@ public class AsciiHelper {
|
|||
*/
|
||||
public static final char DEL = (char) 127; // Delete
|
||||
|
||||
/**
|
||||
* Returns the ASCII Text of a certain bye value
|
||||
*
|
||||
* @param b
|
||||
* @return String
|
||||
*/
|
||||
public static String getAsciiText(byte b) {
|
||||
return getAsciiText((char) b);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the ASCII Text of a certain char value
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue