Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FieldsSeq (0.27 sec)

  1. src/bytes/iter.go

    	return splitSeq(s, sep, len(sep))
    }
    
    // FieldsSeq returns an iterator over subslices of s split around runs of
    // whitespace characters, as defined by [unicode.IsSpace].
    // The iterator yields the same subslices that would be returned by [Fields](s),
    // but without constructing a new slice containing the subslices.
    func FieldsSeq(s []byte) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		start := -1
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top