bytes.Buffer.Len (method, view implemented interface methods)

40 uses

	bytes (current package)
		buffer.go#L79: func (b *Buffer) Len() int { return len(b.buf) - b.off }
		buffer.go#L97: 	if n < 0 || n > b.Len() {
		buffer.go#L127: 	m := b.Len()
		buffer.go#L260: 	if nBytes := b.Len(); nBytes > 0 {
		buffer.go#L342: 	m := b.Len()

	crypto/tls
		conn.go#L633: 		if err == io.ErrUnexpectedEOF && c.rawInput.Len() == 0 {
		conn.go#L708: 	if c.vers == VersionTLS13 && typ != recordTypeHandshake && c.hand.Len() > 0 {
		conn.go#L744: 		if c.hand.Len() > 0 {
		conn.go#L823: 	if c.rawInput.Len() >= n {
		conn.go#L826: 	needs := n - c.rawInput.Len()
		conn.go#L1077: 	for c.hand.Len() < n {
		conn.go#L1388: 		for c.hand.Len() > 0 {
		conn.go#L1404: 	if n != 0 && c.input.Len() == 0 && c.rawInput.Len() > 0 &&
		handshake_client_tls13.go#L522: 		if c.hand.Len() != 0 {
		handshake_client_tls13.go#L844: 		if c.hand.Len() != 0 {
		handshake_server_tls13.go#L771: 		if c.hand.Len() != 0 {
		handshake_server_tls13.go#L909: 		if c.hand.Len() != 0 {
		quic.go#L274: 	for q.conn.hand.Len() >= 4 && q.conn.handshakeErr == nil {
		quic.go#L376: 	for c.hand.Len() < n {

	go/ast
		commentmap.go#L273: 			if buf.Len() >= maxLen {
		commentmap.go#L281: 	if buf.Len() > maxLen {

	golang.org/x/net/http2
		frame.go#L1676: 			buf.Truncate(buf.Len() - 1) // remove trailing comma

	golang.org/x/net/http2/hpack
		hpack.go#L236: 	if d.saveBuf.Len() > 0 {
		hpack.go#L253: 	if d.saveBuf.Len() == 0 {
		huffman.go#L67: 				if maxLen != 0 && buf.Len() == maxLen {
		huffman.go#L87: 		if maxLen != 0 && buf.Len() == maxLen {

	golang.org/x/tools/internal/gcimporter
		iexport.go#L407: 			fileOffset[i] = uint64(files.Len())
		iexport.go#L413: 	dataLen := uint64(p.data0.Len())
		iexport.go#L436: 	hdr.uint64(uint64(p.strings.Len()))
		iexport.go#L438: 		hdr.uint64(uint64(files.Len()))
		iexport.go#L633: 		off = uint64(p.strings.Len())
		iexport.go#L975: 	off := uint64(w.p.data0.Len())

	google.golang.org/grpc/internal/transport
		controlbuf.go#L749: 		size := l.hBuf.Len()

	mime/multipart
		formdata.go#L196: 			fh.Size = int64(b.Len()) + remainingSize

	net/http
		h2_bundle.go#L3236: 			buf.Truncate(buf.Len() - 1) // remove trailing comma
		request.go#L926: 			req.ContentLength = int64(v.Len())

	vendor/golang.org/x/net/http2/hpack
		hpack.go#L236: 	if d.saveBuf.Len() > 0 {
		hpack.go#L253: 	if d.saveBuf.Len() == 0 {
		huffman.go#L67: 				if maxLen != 0 && buf.Len() == maxLen {
		huffman.go#L87: 		if maxLen != 0 && buf.Len() == maxLen {