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

27 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#L629: 		if err == io.ErrUnexpectedEOF && c.rawInput.Len() == 0 {
		conn.go#L704: 	if c.vers == VersionTLS13 && typ != recordTypeHandshake && c.hand.Len() > 0 {
		conn.go#L740: 		if c.hand.Len() > 0 {
		conn.go#L819: 	if c.rawInput.Len() >= n {
		conn.go#L822: 	needs := n - c.rawInput.Len()
		conn.go#L1073: 	for c.hand.Len() < n {
		conn.go#L1372: 		for c.hand.Len() > 0 {
		conn.go#L1388: 	if n != 0 && c.input.Len() == 0 && c.rawInput.Len() > 0 &&
		handshake_client_tls13.go#L402: 		if c.hand.Len() != 0 {
		handshake_client_tls13.go#L713: 		if c.hand.Len() != 0 {
		handshake_server_tls13.go#L619: 		if c.hand.Len() != 0 {
		handshake_server_tls13.go#L750: 		if c.hand.Len() != 0 {
		quic.go#L235: 	for q.conn.hand.Len() >= 4 && q.conn.handshakeErr == nil {
		quic.go#L318: 	for c.hand.Len() < n {

	github.com/gotd/td/internal/mtproxy/faketls
		faketls.go#L92: 	if o.readBuf.Len() > 0 {

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

	net/http
		h2_bundle.go#L3033: 			buf.Truncate(buf.Len() - 1) // remove trailing comma
		request.go#L901: 			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 {