Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AppendByteString (0.33 sec)

  1. src/internal/types/testdata/fixedbugs/issue50281.go

    	var buf []byte
    	_ = append(buf, s...)
    }
    
    // test case from issue
    
    type byteseq interface {
    	string | []byte
    }
    
    // This should allow to eliminate the two functions above.
    func AppendByteString[source byteseq](buf []byte, s source) []byte {
    	return append(buf, s[1:6]...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 554 bytes
    - Viewed (0)
Back to top