def str
import ezx@1.11.0.0/src/sha/nar.bend as Narimport Base
51# one NAR string: its length, its bytes, then zeros up to a multiple of eight
52def str(+text: String) -> String:
53 +n = String.length(text)
54 le64(n) ++ text ++ zeros(pad.of(n))
import ezx@1.11.0.0/src/sha/nar.bend as Narimport Base
51# one NAR string: its length, its bytes, then zeros up to a multiple of eight
52def str(+text: String) -> String:
53 +n = String.length(text)
54 le64(n) ++ text ++ zeros(pad.of(n))