hex
Generated by tinox doc
tinox.core.hex, bundled with the compiler and also available as a standalone tinox-central package.
Encode decode
import tinox.core.hex
class Main
{
fnc main() -> Int32
{
const encoded: String = Hex::encode("Hi!")
println(encoded)
const decoded: String = Hex::decode(encoded)
println(decoded)
println(Hex::dump("Hi!"))
return 0
}
}
fn tinoxBytesToString(bytes: List<Int64>) → String
class Hex
Methods
fn encode(data: String) → String
@Throwsfn decode(hex: String) → String
@Throwsfn decodeBytes(hex: String) → List<Int64>
fn nibbleToChar(n: Int64) → String
@Throwsfn charToNibble(c: String) → Int64
fn dump(data: String) → String
@Errorclass HexError
* Malformed hex input.
Fields
message | String |