it.stefanochizzolini.clown.util
Class ConvertUtils
java.lang.Object
it.stefanochizzolini.clown.util.ConvertUtils
public class ConvertUtils
- extends Object
Data convertion utility.
Remarks
This class is a specialized adaptation from the original
Apache Commons Codec project, licensed under the
Apache License, Version 2.0.
- Since:
- 0.0.8
- Version:
- 0.0.8
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertUtils
public ConvertUtils()
byteArrayToHex
public static String byteArrayToHex(byte[] data)
byteArrayToInt
public static int byteArrayToInt(byte[] data)
byteArrayToInt
public static int byteArrayToInt(byte[] data,
int index,
ByteOrder byteOrder)
byteArrayToNumber
public static int byteArrayToNumber(byte[] data,
int index,
int length,
ByteOrder byteOrder)
hexToByteArray
public static byte[] hexToByteArray(String data)
intToByteArray
public static byte[] intToByteArray(int data)
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.