func bytes.NewBuffer
52 uses
bytes (current package)
buffer.go#L450: func NewBuffer(buf []byte) *Buffer { return &Buffer{buf: buf} }
github.com/aws/aws-sdk-go/aws/client
logger.go#L123: lw := &logWriter{r.Config.Logger, bytes.NewBuffer(nil)}
github.com/aws/aws-sdk-go/aws/credentials/processcreds
provider.go#L351: output := bytes.NewBuffer(make([]byte, 0, p.MaxBufSize))
github.com/go-git/gcfg
set.go#L203: b := bytes.NewBuffer(nil)
github.com/go-git/go-git/v5
status.go#L41: buf := bytes.NewBuffer(nil)
submodule.go#L308: buf := bytes.NewBuffer(nil)
github.com/go-git/go-git/v5/config
config.go#L244: r := bytes.NewBuffer(b)
config.go#L356: buf := bytes.NewBuffer(nil)
modules.go#L46: r := bytes.NewBuffer(b)
modules.go#L69: buf := bytes.NewBuffer(nil)
github.com/go-git/go-git/v5/plumbing
memory.go#L44: return ioutil.NopCloser(bytes.NewBuffer(o.cont)), nil
github.com/go-git/go-git/v5/plumbing/format/gitignore
dir.go#L90: d := config.NewDecoder(bytes.NewBuffer(b))
github.com/go-git/go-git/v5/plumbing/format/index
index.go#L114: buf := bytes.NewBuffer(nil)
index.go#L154: buf := bytes.NewBuffer(nil)
github.com/go-git/go-git/v5/plumbing/format/packfile
common.go#L67: return bytes.NewBuffer(nil)
github.com/go-git/go-git/v5/plumbing/object
patch.go#L143: buf := bytes.NewBuffer(nil)
github.com/go-git/go-git/v5/plumbing/transport/http
receive_pack.go#L38: buf := bytes.NewBuffer(nil)
upload_pack.go#L107: buf := bytes.NewBuffer(nil)
github.com/google/pprof/profile
legacy_java_profile.go#L240: r := bytes.NewBuffer(b)
legacy_profile.go#L80: s := bufio.NewScanner(bytes.NewBuffer(b))
legacy_profile.go#L380: if err := p.ParseMemoryMap(bytes.NewBuffer(b)); err != nil {
legacy_profile.go#L465: s := bufio.NewScanner(bytes.NewBuffer(b))
legacy_profile.go#L680: s := bufio.NewScanner(bytes.NewBuffer(b))
legacy_profile.go#L837: s := bufio.NewScanner(bytes.NewBuffer(b))
profile.go#L159: gz, err := gzip.NewReader(bytes.NewBuffer(data))
github.com/google/safehtml/template
escape.go#L621: if err := isJsTemplateBalanced(bytes.NewBuffer(s)); err != nil {
github.com/jackc/pgproto3/v2
copy_both_response.go#L22: buf := bytes.NewBuffer(src)
copy_in_response.go#L22: buf := bytes.NewBuffer(src)
copy_out_response.go#L21: buf := bytes.NewBuffer(src)
error_response.go#L39: buf := bytes.NewBuffer(src)
execute.go#L22: buf := bytes.NewBuffer(src)
notification_response.go#L23: buf := bytes.NewBuffer(src)
parameter_description.go#L21: buf := bytes.NewBuffer(src)
parameter_status.go#L21: buf := bytes.NewBuffer(src)
parse.go#L25: buf := bytes.NewBuffer(src)
password_message.go#L20: buf := bytes.NewBuffer(src)
github.com/prometheus/procfs
proc_stat.go#L138: bytes.NewBuffer(data[r+2:]),
golang.org/x/crypto/openpgp/packet
opaque.go#L47: hdr := bytes.NewBuffer(nil)
opaque.go#L53: p, err = Read(io.MultiReader(hdr, bytes.NewBuffer(op.Contents)))
private_key.go#L158: buf := bytes.NewBuffer(nil)
private_key.go#L165: privateKeyBuf := bytes.NewBuffer(nil)
private_key.go#L301: buf := bytes.NewBuffer(data)
private_key.go#L335: buf := bytes.NewBuffer(data)
private_key.go#L354: buf := bytes.NewBuffer(data)
private_key.go#L371: buf := bytes.NewBuffer(data)
signature.go#L379: if err := sig.EmbeddedSignature.parse(bytes.NewBuffer(subpacket)); err != nil {
golang.org/x/oauth2/jws
jws.go#L129: err = json.NewDecoder(bytes.NewBuffer(decoded)).Decode(c)
golang.org/x/text/internal/language
lookup.go#L259: fmt.Fprint(bytes.NewBuffer([]byte(e.v[:])), n)
google.golang.org/api/storage/v1
storage-gen.go#L67: var _ = bytes.NewBuffer
google.golang.org/grpc
rpc_util.go#L687: buf := bytes.NewBuffer(make([]byte, 0, size+bytes.MinRead))
google.golang.org/grpc/internal/transport
handler_server.go#L397: s.buf.put(recvMsg{buffer: bytes.NewBuffer(buf[:n:n])})
gopkg.in/warnings.v0
warnings.go#L96: b := bytes.NewBuffer(nil)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |