func bytes.TrimRight

8 uses

	bytes (current package)
		bytes.go#L925: func TrimRight(s []byte, cutset string) []byte {

	encoding/pem
		pem.go#L50: 	return bytes.TrimRight(data[0:i], " \t"), data[j:]

	github.com/google/go-cmp/cmp
		report_text.go#L271: 				b = append(b, bytes.TrimRight(batch, " ")...)

	github.com/prometheus/procfs
		proc.go#L134: 	return strings.Split(string(bytes.TrimRight(data, string("\x00"))), string(byte(0))), nil

	google.golang.org/protobuf/internal/encoding/json
		decode_number.go#L174: 		frac: bytes.TrimRight(frac, "0"), // Remove unnecessary 0s to the right.

	html/template
		js.go#L29: 	s = bytes.TrimRight(s, "\t\n\f\r \u2028\u2029")
		transition.go#L441: 			p := bytes.TrimRight(s[:i], "\t\n\f\r ")

	math/big
		ftoa.go#L439: 	buf = append(buf, bytes.TrimRight(m.utoa(16), "0")...)