bytes.Buffer.Truncate (method)

4 uses

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

	encoding/json
		indent.go#L53: 		dst.Truncate(origLen)
		indent.go#L139: 		dst.Truncate(origLen)

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