def esc.r

bend-kit-json@0.7.0.0 · json.bend:681

import bend-kit-json@0.7.0.0/json.bend as Json
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

681# The plain bytes from i to the run's end go onto acc in one loop.
682def esc.r(strict: Bool, +len: U32, +i: U32, acc: W, key: Bool, stack: List<&1, Open>, r: Array<U32> & U32 & U32) -> Array<U32> & Sb:
683  (a, +j, c) = r
684  esc.r.go(strict, len, j, c, key, stack, w.span.go(U32.to_nat((j - i : U32)), Bytes.peek(a, i), i, acc))

Uses (14)

Used by (1)