code: func writeBindExecuteMsg(buf *pool.WriteBuffer, name string, params ...interface{}) error {
  	buf.StartMessage(bindMsg)
  	buf.WriteString("")
  	buf.WriteString(name)
  	buf.WriteInt16(0)
  	buf.WriteInt16(int16(len(params)))
  	for _, param := range params {
  		buf.StartParam()
  		bytes := types.Append(buf.Bytes, param, 0)
  		if bytes != nil {
  			buf.Bytes = bytes
  			buf.FinishParam()
  		} else {
  			buf.FinishNullParam()
  		}
  	}
  	buf.WriteInt16(0)
  	buf.FinishMessage()
  
  	buf.StartMessage(executeMsg)
  	buf.WriteString("")
  	buf.WriteInt32(0)
  	buf.FinishMessage()
  
  	writeSyncMsg(buf)
  
  	return nil
  }
docs: // Writes BIND, EXECUTE and SYNC messages.