- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ending0 (0.17 sec)
-
src/bytes/bytes.go
func CutPrefix(s, prefix []byte) (after []byte, found bool) { if !HasPrefix(s, prefix) { return s, false } return s[len(prefix):], true } // CutSuffix returns s without the provided ending suffix byte slice // and reports whether it found the suffix. // If s doesn't end with suffix, CutSuffix returns s, false. // If suffix is the empty byte slice, CutSuffix returns s, true. //
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0)