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
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)