OxL Reference

fn openStr

Reverses sealStr. A failure is a panic.

Example:

oxl✓ checked in CI
use std.topic { sealStr, openStr }

fn main() io, db {
  print(openStr("Payments", "card", sealStr("Payments", "card", "x1")))
}
Output
x1
pub(api) fn openStr(name: str, field: str, v: bytes) -> str

Since. 1.0.0-beta

Parameters

NameType
namestr
fieldstr
vbytes

Returns

str

Effects

none declared (pure unless the body says otherwise)

Defined in: std/topic/topic.oxl:851

See also