~/bend-docscommunity

Radix.bend checks

raw source on the hub · import hhefesto-radix@1.0.0.0/Radix.bend as Radix

1 import
import Base

Definitions

def rx.nib source · line 17 · raw

@+n:U32 -> U32

def rx.hex source · line 20 · raw

@bs:List<&2, U32> -> String

def rx.hexv.at source · line 27 · raw

@a:Bool -> @b:Bool -> @c2:Bool -> @d:Bool -> @e:Bool -> @f:Bool -> @+c:U32 -> U32

def rx.hexv source · line 39 · raw

@+c:U32 -> U32

a hex digit's value (16: none)

def rx.unhex.at source · line 42 · raw

@bad:Bool -> @+v:U32 -> @more:Maybe<&2, List<&2, U32>> -> Maybe<&2, List<&2, U32>>

def rx.unhex source · line 51 · raw

@s:String -> Maybe<&2, List<&2, U32>>

def rx.sym source · line 63 · raw

@+url:Bool -> @+n:U32 -> U32

def rx.c6 source · line 69 · raw

@+url:Bool -> @+n:U32 -> @+k:Nat -> @out:String -> String

def rx.pad source · line 72 · raw

@+pad:Bool -> @+k:Nat -> @out:String -> String

def rx.b64 source · line 80 · raw

@+url:Bool -> @+pad:Bool -> @bs:List<&2, U32> -> String

bytes in base 64: url, the URL-safe alphabet; pad, "=" to a multiple of 4

def rx.val.at source · line 93 · raw

@up:Bool -> @lo:Bool -> @dg:Bool -> @s62:Bool -> @s63:Bool -> @+c:U32 -> U32

def rx.val source · line 109 · raw

@+c:U32 -> U32

a base-64 character's value, either alphabet (64: none)

def rx.dec.out source · line 113 · raw

@bad:Bool -> @out:List<&2, U32> -> @more:Maybe<&2, List<&2, U32>> -> Maybe<&2, List<&2, U32>>

def rx.n4 source · line 122 · raw

@+a:U32 -> @+b:U32 -> @+c:U32 -> @+d:U32 -> U32

def rx.bytes3 source · line 125 · raw

@+n:U32 -> List<&2, U32>

def rx.unb64 source · line 129 · raw

@s:String -> Maybe<&2, List<&2, U32>>

base 64 read back (padded or not)