Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for profil (0.17 sec)

  1. src/bytes/bytes.go

    // CutPrefix returns s without the provided leading prefix byte slice
    // and reports whether it found the prefix.
    // If s doesn't start with prefix, CutPrefix returns s, false.
    // If prefix is the empty byte slice, CutPrefix returns s, true.
    //
    // CutPrefix returns slices of the original slice s, not copies.
    func CutPrefix(s, prefix []byte) (after []byte, found bool) {
    	if !HasPrefix(s, prefix) {
    		return s, false
    	}
    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)
Back to top