bytes.Buffer.Bytes (method)

26 uses

	bytes (current package)
		buffer.go#L54: func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }

	crypto/tls
		auth.go#L87: 		return b.Bytes()
		conn.go#L582: 	copy(err.RecordHeader[:], c.rawInput.Bytes())
		conn.go#L637: 	hdr := c.rawInput.Bytes()[:recordHeaderLen]
		conn.go#L1088: 	data := c.hand.Bytes()
		conn.go#L1389: 		recordType(c.rawInput.Bytes()[0]) == recordTypeAlert {
		quic.go#L236: 		b := q.conn.hand.Bytes()

	encoding/json
		encode.go#L166: 	buf := append([]byte(nil), e.Bytes()...)
		stream.go#L222: 	b := e.Bytes()

	encoding/pem
		pem.go#L315: 	return buf.Bytes()

	github.com/go-faster/jx
		w.go#L63: 	w.Buf = buf.Bytes()

	github.com/gotd/td/internal/mtproxy/faketls
		server_hello.go#L45: 	packet := packetBuf.Bytes()

	github.com/gotd/td/internal/proto
		gzip.go#L107: 	b.PutBytes(buf.Bytes())

	mime/multipart
		formdata.go#L183: 			if _, err := file.Write(b.Bytes()); err != nil {
		formdata.go#L206: 			fh.content = b.Bytes()

	net/http
		h2_bundle.go#L9114: 	return cc.hbuf.Bytes(), nil
		h2_bundle.go#L9167: 	return cc.hbuf.Bytes(), nil
		h2_bundle.go#L10485: 	headerBlock := buf.Bytes()
		h2_bundle.go#L10534: 	headerBlock := buf.Bytes()
		h2_bundle.go#L10565: 		BlockFragment: buf.Bytes(),
		request.go#L902: 			buf := v.Bytes()
		server.go#L3414: 		w.Write(tw.wbuf.Bytes())

	rsc.io/qr
		png.go#L61: 	w.writeChunk("IDAT", w.zlib.bytes.Bytes())
		png.go#L66: 	return w.buf.Bytes()

	vendor/golang.org/x/net/http2/hpack
		hpack.go#L257: 		d.buf = d.saveBuf.Bytes()
		huffman.go#L28: 	return w.Write(buf.Bytes())