bytes.Buffer.Truncate (method)

5 uses

	bytes (current package)
		buffer.go#L91: func (b *Buffer) Truncate(n int) {

	go/ast
		commentmap.go#L282: 		buf.Truncate(maxLen - 3)

	go/doc/comment
		text.go#L76: 		out.Truncate(len(data) - n)

	golang.org/x/net/http2
		frame.go#L1676: 			buf.Truncate(buf.Len() - 1) // remove trailing comma

	net/http
		h2_bundle.go#L3236: 			buf.Truncate(buf.Len() - 1) // remove trailing comma