Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Valid (0.18 sec)

  1. src/archive/zip/writer.go

    		Name:   name,
    		Method: Deflate,
    	}
    	return w.CreateHeader(header)
    }
    
    // detectUTF8 reports whether s is a valid UTF-8 string, and whether the string
    // must be considered UTF-8 encoding (i.e., not compatible with CP-437, ASCII,
    // or any other common encoding).
    func detectUTF8(s string) (valid, require bool) {
    	for i := 0; i < len(s); {
    		r, size := utf8.DecodeRuneInString(s[i:])
    		i += size
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top