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
fn decode(hex: String) → String
fn decodeBytes(hex: String) → List<Int64>
fn nibbleToChar(n: Int64) → String
fn charToNibble(c: String) → Int64
fn dump(data: String) → String