Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ToValidUTF8 (0.06 sec)

  1. src/bytes/bytes.go

    func ToTitleSpecial(c unicode.SpecialCase, s []byte) []byte {
    	return Map(c.ToTitle, s)
    }
    
    // ToValidUTF8 treats s as UTF-8-encoded bytes and returns a copy with each run of bytes
    // representing invalid UTF-8 replaced with the bytes in replacement, which may be empty.
    func ToValidUTF8(s, replacement []byte) []byte {
    	b := make([]byte, 0, len(s)+len(replacement))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
Back to top