bytes.Buffer.AvailableBuffer (method)
17 uses
bytes (current package)
buffer.go#L60: func (b *Buffer) AvailableBuffer() []byte { return b.buf[len(b.buf):] }
encoding/json
encode.go#L445: out := e.AvailableBuffer()
encode.go#L464: out := e.AvailableBuffer()
encode.go#L487: e.Write(appendString(e.AvailableBuffer(), b, opts.escapeHTML))
encode.go#L501: e.Write(appendString(e.AvailableBuffer(), b, opts.escapeHTML))
encode.go#L505: b := e.AvailableBuffer()
encode.go#L513: b := e.AvailableBuffer()
encode.go#L521: b := e.AvailableBuffer()
encode.go#L541: b := e.AvailableBuffer()
encode.go#L580: b := e.AvailableBuffer()
encode.go#L589: e.Write(appendString(e.AvailableBuffer(), b, false)) // no need to escape again since it is already escaped
encode.go#L591: e.Write(appendString(e.AvailableBuffer(), v.String(), opts.escapeHTML))
encode.go#L757: e.Write(appendString(e.AvailableBuffer(), kv.ks, opts.escapeHTML))
encode.go#L789: b := e.AvailableBuffer()
indent.go#L16: dst.Write(appendHTMLEscape(dst.AvailableBuffer(), src))
indent.go#L43: b := dst.AvailableBuffer()
indent.go#L112: b := dst.AvailableBuffer()
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |