docs/javadoc/reference/com/facebook/common/util/Hex.html
|
|
Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class
extends Object
| java.lang.Object | | ↳ | com.facebook.common.util.Hex |
Basic hex operations: from byte array to string and vice versa.
TODO: move to the framework and consider implementing as native code.
| Public Constructors |
|---|
| Public Methods |
|---|
| static String |
| Convert an int [0-255] to a hexadecimal string representation. |
| static byte[] |
| Quickly converts a hexadecimal string to a byte array. |
| static String |
| Quickly converts a byte array to a hexadecimal string representation. |
| static byte[] |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
|
Convert an int [0-255] to a hexadecimal string representation.
| value | int value. |
Quickly converts a hexadecimal string to a byte array.
Quickly converts a byte array to a hexadecimal string representation.
| array | byte array, possibly zero-terminated. |
+Generated by Doclava. +