| Method | Defined by | ||
|---|---|---|---|
|
fromArray(array:ByteArray, colons:Boolean = false):String
[static]
| Hex | ||
|
fromString(str:String, colons:Boolean = false):String
[static]
| Hex | ||
|
toArray(hex:String):ByteArray
[static]
Support straight hex, or colon-laced hex.
| Hex | ||
|
toString(hex:String):String
[static]
| Hex | ||
| fromArray | () | method |
public static function fromArray(array:ByteArray, colons:Boolean = false):StringParameters
array:ByteArray |
|
colons:Boolean (default = false) |
String |
| fromString | () | method |
public static function fromString(str:String, colons:Boolean = false):StringParameters
str:String |
|
colons:Boolean (default = false) |
String — a hex string encoded from the UTF-8 string str
|
| toArray | () | method |
public static function toArray(hex:String):ByteArraySupport straight hex, or colon-laced hex. (that means 23:03:0e:f0, but OT23:3:e:f0) Whitespace characters are ignored.
Parametershex:String |
ByteArray |
| toString | () | method |
public static function toString(hex:String):StringParameters
hex:String |
String — a UTF-8 string decoded from hex
|