| Package | org.igniterealtime.xiff.util |
| Class | public class Hex |
| Inheritance | Hex Object |
| Method | Defined By | ||
|---|---|---|---|
readBytes(ba:ByteArray):String [static]
Read the bytes of the given bytearray and convert to a hex string
| Hex | ||
writeBytes(ba:ByteArray, hex:String):ByteArray [static]
Write the given hex string to the bytearray
| Hex | ||
| readBytes | () | method |
public static function readBytes(ba:ByteArray):StringRead the bytes of the given bytearray and convert to a hex string
Parameters
ba:ByteArray |
String — String in hex format
|
| writeBytes | () | method |
public static function writeBytes(ba:ByteArray, hex:String):ByteArrayWrite the given hex string to the bytearray
Parameters
ba:ByteArray | |
hex:String |
ByteArray — ByteArray that has the hex written in it
|