YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
org.seamless.util.io.HexBin Class Reference

format validation This class encodes/decodes hexadecimal data More...

Collaboration diagram for org.seamless.util.io.HexBin:
Collaboration graph

Static Public Member Functions

static String bytesToString (byte[] binaryData)
 Converts bytes to a hex string.
 
static String bytesToString (byte[] binaryData, String separator)
 Converts bytes to a hex string with separator (e.g.
 
static byte[] stringToBytes (String hexEncoded)
 Converts a hex string to a byte array.
 
static byte[] stringToBytes (String hexEncoded, String separator)
 Converts a hex string to a byte array.
 
static byte[] encode (byte[] binaryData)
 array of byte to encode
 
static byte[] decode (byte[] binaryData)
 
static String decode (String binaryData)
 Decodes Hex data into octects.
 
static String encode (String binaryData)
 Encodes octects (using utf-8) into Hex data.
 

Detailed Description

format validation

This class encodes/decodes hexadecimal data

Author
Jeffrey Rodriguez
Version
Id
HexBin.java 125124 2005-01-14 00:23:54Z kkrouse

Member Function Documentation

◆ bytesToString()

static String org.seamless.util.io.HexBin.bytesToString ( byte[]  binaryData,
String  separator 
)
static

Converts bytes to a hex string with separator (e.g.

colon)

Here is the call graph for this function:

◆ decode()

static String org.seamless.util.io.HexBin.decode ( String  binaryData)
static

Decodes Hex data into octects.

Parameters
binaryDataString containing Hex data
Returns
string containing decoded data.

◆ encode() [1/2]

static byte[] org.seamless.util.io.HexBin.encode ( byte[]  binaryData)
static

array of byte to encode

Parameters
binaryData
Returns
return encode binary array

Referenced by org.seamless.util.io.HexBin.bytesToString(), org.seamless.util.io.HexBin.bytesToString(), and org.seamless.util.io.HexBin.encode().

Here is the caller graph for this function:

◆ encode() [2/2]

static String org.seamless.util.io.HexBin.encode ( String  binaryData)
static

Encodes octects (using utf-8) into Hex data.

Parameters
binaryDataString containing Hex data
Returns
string containing decoded data.
Here is the call graph for this function:

The documentation for this class was generated from the following file: