パッケージ jcifs.util
クラス Hexdump
- java.lang.Object
-
- jcifs.util.Hexdump
-
public class Hexdump extends Object
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 static char[]HEX_DIGITS
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 Hexdump()
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static voidtoHexChars(int val, char[] dst, int dstIndex, int size)This is the same astoHexString(int val, int size)but provides a more practical form when trying to avoidStringconcatenation andStringBuffer.static voidtoHexChars(long val, char[] dst, int dstIndex, int size)static StringtoHexString(byte[] data)static StringtoHexString(byte[] src, int srcIndex, int size)static StringtoHexString(int val, int size)This is an alternative to thejava.lang.Integer.toHexStringmethod.static StringtoHexString(long val, int size)
-
-
-
メソッドの詳細
-
toHexString
public static String toHexString(int val, int size)
This is an alternative to thejava.lang.Integer.toHexStringmethod. It is an efficient relative that also will pad the left side so that the result issizedigits.- パラメータ:
val-size-- 戻り値:
- hex string
-
toHexString
public static String toHexString(long val, int size)
- パラメータ:
val-size-- 戻り値:
- hex string
-
toHexString
public static String toHexString(byte[] src, int srcIndex, int size)
- パラメータ:
src-srcIndex-size-- 戻り値:
- hex string
-
toHexString
public static String toHexString(byte[] data)
- パラメータ:
data-- 戻り値:
- hex string
-
toHexChars
public static void toHexChars(int val, char[] dst, int dstIndex, int size)This is the same astoHexString(int val, int size)but provides a more practical form when trying to avoidStringconcatenation andStringBuffer.- パラメータ:
val-dst-dstIndex-size-
-
toHexChars
public static void toHexChars(long val, char[] dst, int dstIndex, int size)- パラメータ:
val-dst-dstIndex-size-
-
-