net.wasamon.mjlib.util
クラス DataUtil
java.lang.Object
net.wasamon.mjlib.util.DataUtil
public class DataUtil
- extends java.lang.Object
- 作成者:
- Takefumi MIYOSHI
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataUtil
public DataUtil()
toInteger
public static int toInteger(byte[] d)
toInteger
public static int toInteger(byte b)
toInteger
public static int toInteger(byte[] d,
int offset,
int length)
toChar
public static char toChar(byte h,
byte l)
toChar
public static char toChar(byte[] d,
int offset,
int length)
toByteArray
public static byte[] toByteArray(char v)
toCharL
public static char toCharL(int a)
toCharH
public static char toCharH(int a)
toByteL
public static byte toByteL(char a)
toByteH
public static byte toByteH(int a)
toInteger
public static int toInteger(char a,
char b)
toBigEndianValueString
public static java.lang.String toBigEndianValueString(byte[] data)
toByteArray
public static byte[] toByteArray(int v)
toByteArray
public static byte[] toByteArray(int v,
int len)
toLSB8
public static int toLSB8(char a)
toUSB8
public static int toUSB8(char a)
toSiginedInteger
public static int toSiginedInteger(char d)
parseInt
public static int parseInt(java.lang.String v)
throws java.lang.NumberFormatException
- 例外:
java.lang.NumberFormatException
subArray
public static byte[] subArray(byte[] d,
int offset,
int len)