def find
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytesimport 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)