def find

bend-kit-bytes@0.3.3.0 · bytes.bend:462

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

462# Index of the first match of needle (a byte string), or None. An empty needle matches at 0.
463def find(b: Bytes, +needle: String) -> Bytes & Maybe<&2, U32>:
464  find.from(b, needle, 0)

Uses (6)

Used by (11)