Data and Math

vcodecs

Simple named text codecs, from characters to codes and back.

Released v1.0.0 · 2026-09-28
Import
use "stdlib/codecs.ven"

A small set of named text codecs, including rot13, built on Venutian's character code and hex builtins: a handful of well known, simple transformations.

vcodecs.ven
print rot13("Hello, World!")
:: prints: Uryyb, Jbeyq!
Reference (3 functions)

API reference

rot13(text)

rot13("Hello, World!")
:: Uryyb, Jbeyq!

encode(text, name)

encode("Hi", "hex")
:: 4869

decode(text, name)

Inverse of encode for the same name.

decode("4869", "hex")
:: Hi

Get notified when vcodecs changes

Get notified about

New versions and security advisories.

New and updated packages, once a day.

News on the math model built in Venutian.