slice_internals
纯粹的 rust memchr 实现,取自 rust-memchr
返回与 text 中的字节 x 匹配的第一个索引。
text
x
返回与 text 中的字节 x 匹配的最后一个索引。