def skip.at

bend-kit-llm@0.13.0.1 · sse.bend:270

import bend-kit-llm@0.13.0.1/sse.bend as Sse
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

270def skip.at(some: Bool, a: Array<U32>, +pos: U32) -> Array<U32> & U32 & Bool:
271  match some:
272    case True{}:
273      skip.byte(pos, Bytes.peek(a, pos))
274    case False{}:
275      (a, pos, True{})

Uses (7)

Used by (1)