def at.if
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytesimport Base
476def at.if(fits: Bool, +len: U32, buf: Array<U32>, +needle: String, +j: U32) -> Bytes & Bool:
477 match fits:
478 case True{}:
479 at.fin(len, at(buf, needle, j))
480 case False{}:
481 (Bytes{len, buf}, False{})