github.com/jackc/pgx/v5/pgproto3.Bind.Encode (method, view implemented interface methods)
4 uses
github.com/jackc/pgx/v5/pgproto3 (current package)
bind.go#L113: func (src *Bind) Encode(dst []byte) ([]byte, error) {
frontend.go#L146: newBuf, err := msg.Encode(f.wbuf)
github.com/jackc/pgx/v5/pgconn
pgconn.go#L1884: batch.buf, batch.err = (&pgproto3.Bind{PreparedStatement: stmtName, ParameterFormatCodes: paramFormats, Parameters: paramValues, ResultFormatCodes: resultFormats}).Encode(batch.buf)
pgconn.go#L1910: batch.buf, batch.err = (&pgproto3.Bind{PreparedStatement: statementDescription.Name, ParameterFormatCodes: paramFormats, Parameters: paramValues, ResultFormatCodes: resultFormats}).Encode(batch.buf)